home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / gdd-pths.hqx / Paths < prev   
HyperCard Stack  |  1992-09-09  |  40.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: HyperCard Stack (archive/hypercard).

You can browse this item here: Paths

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) magic Supported
100% file data default
100% TrID HyperCard Stack default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 4e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..N.STAK|........|
|00000010| 00 00 00 0a 00 00 a0 00 | 00 00 4e 00 00 00 00 00 |........|..N.....|
|00000020| 00 00 00 00 00 00 00 02 | 00 00 0a da 00 00 00 03 |........|........|
|00000030| 00 00 10 3e 00 00 08 a7 | 00 00 00 02 00 00 0f 80 |...>....|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|00000070| df 3c cb 8f 00 00 00 00 | 00 12 00 00 01 3a 01 c0 |.<......|.....:..|
|00000080| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d 06 00 00 0c 4b | 01 28 01 c0 00 00 00 00 |.......K|.(......|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 58 80 00 00 0b e0 | 00 00 9c 40 00 00 03 a0 |..X.....|...@....|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 2d 2d 20 54 68 65 73 65 | 20 73 63 72 69 70 74 73 |-- These| scripts|
|00000610| 20 a9 20 41 6c 61 6e 20 | 53 74 65 6e 68 6f 75 73 | . Alan |Stenhous|
|00000620| 65 20 31 39 39 32 0d 2d | 2d 20 44 65 70 61 72 74 |e 1992.-|- Depart|
|00000630| 6d 65 6e 74 20 6f 66 20 | 43 6f 6d 70 75 74 65 72 |ment of |Computer|
|00000640| 20 53 63 69 65 6e 63 65 | 0d 2d 2d 20 4d 61 73 73 | Science|.-- Mass|
|00000650| 65 79 20 55 6e 69 76 65 | 72 73 69 74 79 0d 2d 2d |ey Unive|rsity.--|
|00000660| 20 50 61 6c 6d 65 72 73 | 74 6f 6e 20 4e 6f 72 74 | Palmers|ton Nort|
|00000670| 68 0d 2d 2d 20 4e 65 77 | 20 5a 65 61 6c 61 6e 64 |h.-- New| Zealand|
|00000680| 0d 0d 2d 2d 20 54 68 61 | 6e 6b 73 20 64 75 65 20 |..-- Tha|nks due |
|00000690| 74 6f 20 46 72 65 64 65 | 72 69 63 20 52 69 6e 61 |to Frede|ric Rina|
|000006a0| 6c 64 69 20 66 6f 72 20 | 74 68 65 20 75 73 65 20 |ldi for |the use |
|000006b0| 6f 66 20 68 69 73 20 54 | 65 78 74 6f 69 64 20 58 |of his T|extoid X|
|000006c0| 43 4d 44 2e 0d 2d 2d 20 | 41 6c 73 6f 20 74 68 61 |CMD..-- |Also tha|
|000006d0| 6e 6b 73 20 74 6f 20 74 | 68 65 20 61 75 74 68 6f |nks to t|he autho|
|000006e0| 72 20 6f 66 20 74 68 65 | 20 58 53 63 72 6f 6c 6c |r of the| XScroll|
|000006f0| 42 6f 78 20 58 43 4d 44 | 2e 0d 2d 2d 20 55 6e 66 |Box XCMD|..-- Unf|
|00000700| 6f 72 74 75 6e 61 74 65 | 6c 79 20 74 68 65 20 74 |ortunate|ly the t|
|00000710| 65 78 74 6f 69 64 20 76 | 65 72 73 69 6f 6e 20 69 |extoid v|ersion i|
|00000720| 73 20 33 2e 31 20 77 68 | 69 63 68 20 63 6f 6e 74 |s 3.1 wh|ich cont|
|00000730| 61 69 6e 73 20 61 20 62 | 75 67 0d 2d 2d 20 74 6f |ains a b|ug.-- to|
|00000740| 20 64 6f 20 77 69 74 68 | 20 77 69 6e 64 6f 77 20 | do with| window |
|00000750| 70 6c 61 63 65 6d 65 6e | 74 2e 20 53 6f 20 77 68 |placemen|t. So wh|
|00000760| 65 6e 20 49 20 67 65 74 | 20 54 65 78 74 6f 69 64 |en I get| Textoid|
|00000770| 20 33 2e 32 20 49 0d 2d | 2d 20 77 69 6c 6c 20 69 | 3.2 I.-|- will i|
|00000780| 6e 63 6f 72 70 6f 72 61 | 74 65 20 69 74 20 69 6e |ncorpora|te it in|
|00000790| 74 6f 20 74 68 69 73 20 | 73 74 61 63 6b 2e 0d 0d |to this |stack...|
|000007a0| 0d 6f 6e 20 6f 70 65 6e | 43 61 72 64 0d 2d 2d 20 |.on open|Card.-- |
|000007b0| 74 68 69 73 20 69 73 20 | 73 6f 20 74 68 61 74 20 |this is |so that |
|000007c0| 65 76 65 72 79 20 63 61 | 72 64 20 74 68 61 74 20 |every ca|rd that |
|000007d0| 69 73 20 76 69 73 69 74 | 65 64 20 67 65 74 73 20 |is visit|ed gets |
|000007e0| 61 64 64 65 64 20 74 6f | 20 74 68 65 0d 2d 2d 20 |added to| the.-- |
|000007f0| 48 69 73 74 6f 72 79 20 | 6c 69 73 74 2e 20 42 75 |History |list. Bu|
|00000800| 74 20 69 66 20 61 20 63 | 61 72 64 20 6f 72 20 6f |t if a c|ard or o|
|00000810| 74 68 65 72 20 73 74 61 | 63 6b 20 61 6c 72 65 61 |ther sta|ck alrea|
|00000820| 64 79 20 68 61 73 20 61 | 6e 0d 2d 2d 20 6f 70 65 |dy has a|n.-- ope|
|00000830| 6e 43 61 72 64 20 68 61 | 6e 64 6c 65 72 20 74 68 |nCard ha|ndler th|
|00000840| 65 6e 20 69 74 20 77 6f | 6e 27 74 20 62 65 20 61 |en it wo|n't be a|
|00000850| 64 64 65 64 2e 0d 67 6c | 6f 62 61 6c 20 6d 79 48 |dded..gl|obal myH|
|00000860| 69 73 74 6f 72 79 0d 41 | 64 64 48 69 73 74 6f 72 |istory.A|ddHistor|
|00000870| 79 20 28 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |y (the s|hort id |
|00000880| 6f 66 20 74 68 69 73 20 | 63 64 29 2c 20 28 74 68 |of this |cd), (th|
|00000890| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000008a0| 74 68 69 73 20 73 74 61 | 63 6b 29 0d 65 6e 64 20 |this sta|ck).end |
|000008b0| 6f 70 65 6e 43 61 72 64 | 0d 0d 2d 2d 20 6f 6e 20 |openCard|..-- on |
|000008c0| 6f 70 65 6e 53 74 61 63 | 6b 0d 2d 2d 20 67 6c 6f |openStac|k.-- glo|
|000008d0| 62 61 6c 20 6d 79 50 61 | 74 68 4e 61 6d 65 2c 20 |bal myPa|thName, |
|000008e0| 6d 79 50 61 6c 65 74 74 | 65 0d 2d 2d 20 69 66 20 |myPalett|e.-- if |
|000008f0| 6d 79 50 61 74 68 4e 61 | 6d 65 20 69 73 20 65 6d |myPathNa|me is em|
|00000900| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 22 54 65 |pty then| put "Te|
|00000910| 73 74 20 50 61 74 68 73 | 22 20 69 6e 74 6f 20 6d |st Paths|" into m|
|00000920| 79 50 61 74 68 4e 61 6d | 65 0d 2d 2d 20 69 66 20 |yPathNam|e.-- if |
|00000930| 6d 79 50 61 6c 65 74 74 | 65 20 69 73 20 65 6d 70 |myPalett|e is emp|
|00000940| 74 79 20 74 68 65 6e 20 | 73 74 75 64 65 6e 74 0d |ty then |student.|
|00000950| 2d 2d 20 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |-- end o|penStack|
|00000960| 0d 0d 6f 6e 20 61 75 74 | 68 6f 72 0d 67 6c 6f 62 |..on aut|hor.glob|
|00000970| 61 6c 20 6d 79 50 61 6c | 65 74 74 65 0d 69 66 20 |al myPal|ette.if |
|00000980| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00000990| 77 20 6d 79 50 61 6c 65 | 74 74 65 20 74 68 65 6e |w myPale|tte then|
|000009a0| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 6d 79 | close w|indow my|
|000009b0| 50 61 6c 65 74 74 65 0d | 70 75 74 20 22 41 75 74 |Palette.|put "Aut|
|000009c0| 68 6f 72 22 20 69 6e 74 | 6f 20 6d 79 50 61 6c 65 |hor" int|o myPale|
|000009d0| 74 74 65 0d 70 61 6c 65 | 74 74 65 20 6d 79 50 61 |tte.pale|tte myPa|
|000009e0| 6c 65 74 74 65 0d 65 6e | 64 20 61 75 74 68 6f 72 |lette.en|d author|
|000009f0| 0d 0d 6f 6e 20 73 74 75 | 64 65 6e 74 0d 67 6c 6f |..on stu|dent.glo|
|00000a00| 62 61 6c 20 6d 79 50 61 | 6c 65 74 74 65 0d 69 66 |bal myPa|lette.if|
|00000a10| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00000a20| 6f 77 20 6d 79 50 61 6c | 65 74 74 65 20 74 68 65 |ow myPal|ette the|
|00000a30| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 6d |n close |window m|
|00000a40| 79 50 61 6c 65 74 74 65 | 0d 70 75 74 20 22 73 74 |yPalette|.put "st|
|00000a50| 75 64 65 6e 74 22 20 69 | 6e 74 6f 20 6d 79 50 61 |udent" i|nto myPa|
|00000a60| 6c 65 74 74 65 0d 65 6e | 64 20 73 74 75 64 65 6e |lette.en|d studen|
|00000a70| 74 0d 0d 6f 6e 20 6f 70 | 65 6e 50 61 74 68 0d 67 |t..on op|enPath.g|
|00000a80| 6c 6f 62 61 6c 20 6d 79 | 50 61 74 68 2c 20 6d 79 |lobal my|Path, my|
|00000a90| 4d 65 74 61 49 6e 66 6f | 2c 20 6d 79 48 69 73 74 |MetaInfo|, myHist|
|00000aa0| 6f 72 79 2c 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |ory, cur|rNodeNum|
|00000ab0| 2c 20 73 74 61 72 74 54 | 69 63 6b 73 2c 20 6d 79 |, startT|icks, my|
|00000ac0| 50 61 74 68 4e 61 6d 65 | 0d 67 6c 6f 62 61 6c 20 |PathName|.global |
|00000ad0| 6d 79 49 6e 66 6f 57 69 | 6e 64 6f 77 2c 20 6d 79 |myInfoWi|ndow, my|
|00000ae0| 49 6e 66 6f 52 65 63 74 | 2c 20 6d 79 44 65 6c 69 |InfoRect|, myDeli|
|00000af0| 6d 2c 20 69 6e 66 6f 45 | 64 69 74 53 74 61 74 75 |m, infoE|ditStatu|
|00000b00| 73 2c 20 6d 79 50 61 6c | 65 74 74 65 2c 20 6f 70 |s, myPal|ette, op|
|00000b10| 65 6e 50 61 74 68 53 74 | 61 74 75 73 0d 2d 2d 6c |enPathSt|atus.--l|
|00000b20| 6f 61 64 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |oad cont|ents of |
|00000b30| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|00000b40| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|00000b50| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 73 |.lock sc|reen.pus|
|00000b60| 68 20 63 64 0d 70 6f 70 | 20 63 64 20 69 6e 74 6f |h cd.pop| cd into|
|00000b70| 20 6d 79 43 75 72 72 43 | 64 0d 73 65 74 20 6c 6f | myCurrC|d.set lo|
|00000b80| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|00000b90| 75 65 0d 70 75 74 20 22 | 49 6e 66 6f 72 6d 61 74 |ue.put "|Informat|
|00000ba0| 69 6f 6e 22 20 69 6e 74 | 6f 20 6d 79 49 6e 66 6f |ion" int|o myInfo|
|00000bb0| 57 69 6e 64 6f 77 0d 70 | 75 74 20 22 33 30 2c 33 |Window.p|ut "30,3|
|00000bc0| 30 2c 32 30 30 2c 31 32 | 30 22 20 69 6e 74 6f 20 |0,200,12|0" into |
|00000bd0| 6d 79 49 6e 66 6f 52 65 | 63 74 0d 70 75 74 20 22 |myInfoRe|ct.put "|
|00000be0| 65 6e 64 4e 6f 64 65 22 | 20 69 6e 74 6f 20 6d 79 |endNode"| into my|
|00000bf0| 44 65 6c 69 6d 0d 70 75 | 74 20 22 46 41 4c 53 45 |Delim.pu|t "FALSE|
|00000c00| 22 20 69 6e 74 6f 20 69 | 6e 66 6f 45 64 69 74 53 |" into i|nfoEditS|
|00000c10| 74 61 74 75 73 0d 2d 2d | 20 70 75 74 20 22 73 74 |tatus.--| put "st|
|00000c20| 75 64 65 6e 74 22 20 69 | 6e 74 6f 20 6d 79 50 61 |udent" i|nto myPa|
|00000c30| 6c 65 74 74 65 0d 0d 73 | 74 61 72 74 20 75 73 69 |lette..s|tart usi|
|00000c40| 6e 67 20 73 74 61 63 6b | 20 6d 79 50 61 74 68 4e |ng stack| myPathN|
|00000c50| 61 6d 65 20 2d 2d 20 22 | 54 65 73 74 20 50 61 74 |ame -- "|Test Pat|
|00000c60| 68 73 22 20 20 2d 2d 20 | 6d 61 6b 65 73 20 74 68 |hs" -- |makes th|
|00000c70| 65 20 73 63 72 69 70 74 | 73 20 61 63 63 65 73 73 |e script|s access|
|00000c80| 61 62 6c 65 20 66 72 6f | 6d 20 6f 74 68 65 72 20 |able fro|m other |
|00000c90| 73 74 61 63 6b 73 0d 67 | 65 74 50 61 74 68 0d 70 |stacks.g|etPath.p|
|00000ca0| 61 6c 65 74 74 65 20 6d | 79 50 61 6c 65 74 74 65 |alette m|yPalette|
|00000cb0| 0d 0d 2d 2d 20 2d 2d 20 | 6e 6f 77 20 64 69 73 70 |..-- -- |now disp|
|00000cc0| 6c 61 79 0d 69 66 20 6f | 70 65 6e 50 61 74 68 53 |lay.if o|penPathS|
|00000cd0| 74 61 74 75 73 20 3d 20 | 22 63 61 6e 63 65 6c 22 |tatus = |"cancel"|
|00000ce0| 20 74 68 65 6e 0d 67 6f | 20 74 6f 20 6d 79 43 75 | then.go| to myCu|
|00000cf0| 72 72 43 64 0d 65 6c 73 | 65 0d 70 75 74 20 30 20 |rrCd.els|e.put 0 |
|00000d00| 69 6e 74 6f 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |into cur|rNodeNum|
|00000d10| 0d 70 75 74 20 74 68 65 | 20 74 69 63 6b 73 20 69 |.put the| ticks i|
|00000d20| 6e 74 6f 20 53 74 61 72 | 74 54 69 63 6b 73 0d 0d |nto Star|tTicks..|
|00000d30| 69 66 20 6d 79 50 61 74 | 68 20 69 73 20 6e 6f 74 |if myPat|h is not|
|00000d40| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 6e 65 78 74 | empty t|hen.next|
|00000d50| 50 61 74 68 20 20 2d 2d | 20 74 68 69 73 20 61 63 |Path --| this ac|
|00000d60| 74 69 76 61 74 65 73 20 | 74 68 65 20 6e 65 78 74 |tivates |the next|
|00000d70| 20 6e 6f 64 65 20 69 6e | 20 70 61 74 68 20 68 61 | node in| path ha|
|00000d80| 6e 64 6c 65 72 0d 65 6e | 64 20 69 66 20 20 2d 2d |ndler.en|d if --|
|00000d90| 20 77 68 69 63 68 20 69 | 73 20 6c 6f 63 61 74 65 | which i|s locate|
|00000da0| 64 20 69 6e 20 74 68 65 | 20 48 6f 6d 65 20 73 74 |d in the| Home st|
|00000db0| 61 63 6b 0d 0d 2d 2d 20 | 67 6f 20 74 6f 20 63 64 |ack..-- |go to cd|
|00000dc0| 20 69 64 20 28 77 6f 72 | 64 20 31 20 6f 66 20 6c | id (wor|d 1 of l|
|00000dd0| 69 6e 65 20 31 20 6f 66 | 20 6d 79 50 61 74 68 29 |ine 1 of| myPath)|
|00000de0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 0d |.unlock |screen..|
|00000df0| 2d 2d 20 73 65 74 20 74 | 68 65 20 69 6e 66 6f 72 |-- set t|he infor|
|00000e00| 6d 61 74 69 6f 6e 20 70 | 61 6c 65 74 74 65 20 77 |mation p|alette w|
|00000e10| 69 6e 64 6f 77 20 70 6f | 73 69 74 69 6f 6e 20 6a |indow po|sition j|
|00000e20| 75 73 74 0d 2d 2d 20 74 | 6f 20 74 68 65 20 72 69 |ust.-- t|o the ri|
|00000e30| 67 68 74 20 6f 66 20 74 | 68 65 20 22 47 75 69 64 |ght of t|he "Guid|
|00000e40| 65 64 20 50 61 74 68 73 | 22 20 70 61 6c 65 74 74 |ed Paths|" palett|
|00000e50| 65 20 69 66 20 69 74 27 | 73 20 74 68 65 72 65 0d |e if it'|s there.|
|00000e60| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00000e70| 6e 64 6f 77 20 6d 79 50 | 61 6c 65 74 74 65 20 74 |ndow myP|alette t|
|00000e80| 68 65 6e 0d 70 75 74 20 | 28 74 68 65 20 72 69 67 |hen.put |(the rig|
|00000e90| 68 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 6d 79 50 |ht of wi|ndow myP|
|00000ea0| 61 6c 65 74 74 65 20 2b | 20 35 29 20 69 6e 74 6f |alette +| 5) into|
|00000eb0| 20 6d 79 52 69 67 68 74 | 0d 70 75 74 20 28 69 74 | myRight|.put (it|
|00000ec0| 65 6d 20 31 20 6f 66 20 | 6d 79 49 6e 66 6f 52 65 |em 1 of |myInfoRe|
|00000ed0| 63 74 20 2b 20 6d 79 52 | 69 67 68 74 29 20 69 6e |ct + myR|ight) in|
|00000ee0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 6d 79 49 |to item |1 of myI|
|00000ef0| 6e 66 6f 52 65 63 74 0d | 70 75 74 20 28 69 74 65 |nfoRect.|put (ite|
|00000f00| 6d 20 33 20 6f 66 20 6d | 79 49 6e 66 6f 52 65 63 |m 3 of m|yInfoRec|
|00000f10| 74 20 2b 20 6d 79 52 69 | 67 68 74 29 20 69 6e 74 |t + myRi|ght) int|
|00000f20| 6f 20 69 74 65 6d 20 33 | 20 6f 66 20 6d 79 49 6e |o item 3| of myIn|
|00000f30| 66 6f 52 65 63 74 0d 65 | 6e 64 20 69 66 0d 65 6e |foRect.e|nd if.en|
|00000f40| 64 20 69 66 0d 65 6e 64 | 20 6f 70 65 6e 50 61 74 |d if.end| openPat|
|00000f50| 68 0d 0d 6f 6e 20 67 65 | 74 50 61 74 68 0d 2d 2d |h..on ge|tPath.--|
|00000f60| 20 73 65 6c 65 63 74 20 | 61 20 70 61 74 68 20 74 | select |a path t|
|00000f70| 6f 20 66 6f 6c 6c 6f 77 | 20 66 72 6f 6d 20 74 68 |o follow| from th|
|00000f80| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 70 61 74 68 |e availa|ble path|
|00000f90| 73 20 73 74 6f 72 65 64 | 20 69 6e 20 74 68 65 20 |s stored| in the |
|00000fa0| 50 61 74 68 73 20 73 74 | 61 63 6b 0d 67 6c 6f 62 |Paths st|ack.glob|
|00000fb0| 61 6c 20 6d 79 50 61 74 | 68 4e 61 6d 65 2c 20 6d |al myPat|hName, m|
|00000fc0| 79 50 61 74 68 2c 20 6d | 79 48 69 73 74 6f 72 79 |yPath, m|yHistory|
|00000fd0| 2c 20 6d 79 50 61 74 68 | 43 61 72 64 2c 20 6d 79 |, myPath|Card, my|
|00000fe0| 4d 65 74 61 49 6e 66 6f | 2c 20 6d 79 44 65 6c 69 |MetaInfo|, myDeli|
|00000ff0| 6d 2c 20 6d 79 50 61 6c | 65 74 74 65 2c 20 50 61 |m, myPal|ette, Pa|
|00001000| 74 68 53 74 61 74 75 73 | 2c 20 6f 70 65 6e 50 61 |thStatus|, openPa|
|00001010| 74 68 53 74 61 74 75 73 | 0d 70 75 74 20 22 53 65 |thStatus|.put "Se|
|00001020| 6c 65 63 74 20 74 68 65 | 20 50 61 74 68 20 74 68 |lect the| Path th|
|00001030| 61 74 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 66 |at you w|ant to f|
|00001040| 6f 6c 6c 6f 77 2e 2e 2e | 22 20 69 6e 74 6f 20 6c |ollow...|" into l|
|00001050| 69 73 74 50 72 6f 6d 70 | 74 0d 70 75 73 68 20 63 |istPromp|t.push c|
|00001060| 64 0d 70 6f 70 20 63 64 | 20 69 6e 74 6f 20 6d 79 |d.pop cd| into my|
|00001070| 43 75 72 72 43 64 0d 67 | 6f 20 74 6f 20 73 74 61 |CurrCd.g|o to sta|
|00001080| 63 6b 20 6d 79 50 61 74 | 68 4e 61 6d 65 0d 0d 2d |ck myPat|hName..-|
|00001090| 2d 20 67 65 74 20 6c 69 | 73 74 20 6f 66 20 70 6f |- get li|st of po|
|000010a0| 73 73 69 62 6c 65 20 70 | 61 74 68 73 20 28 69 2e |ssible p|aths (i.|
|000010b0| 65 2e 20 63 61 72 64 73 | 20 69 6e 20 74 68 65 20 |e. cards| in the |
|000010c0| 73 74 61 63 6b 29 0d 70 | 75 74 20 65 6d 70 74 79 |stack).p|ut empty|
|000010d0| 20 69 6e 74 6f 20 6d 79 | 50 61 74 68 4c 69 73 74 | into my|PathList|
|000010e0| 0d 2d 2d 20 67 6f 20 74 | 6f 20 63 64 20 32 20 6f |.-- go t|o cd 2 o|
|000010f0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 0d 67 6f 20 |f this s|tack.go |
|00001100| 74 6f 20 66 69 72 73 74 | 20 63 64 20 6f 66 20 62 |to first| cd of b|
|00001110| 67 20 22 50 61 74 68 22 | 0d 72 65 70 65 61 74 20 |g "Path"|.repeat |
|00001120| 77 69 74 68 20 6e 20 3d | 20 31 20 74 6f 20 74 68 |with n =| 1 to th|
|00001130| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 20 |e number| of cds |
|00001140| 6f 66 20 62 67 20 22 50 | 61 74 68 22 0d 70 75 74 |of bg "P|ath".put|
|00001150| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00001160| 6f 66 20 74 68 69 73 20 | 63 64 20 26 20 72 65 74 |of this |cd & ret|
|00001170| 75 72 6e 20 61 66 74 65 | 72 20 6d 79 50 61 74 68 |urn afte|r myPath|
|00001180| 4c 69 73 74 0d 67 6f 20 | 6e 65 78 74 20 63 64 20 |List.go |next cd |
|00001190| 6f 66 20 62 67 20 22 50 | 61 74 68 22 0d 65 6e 64 |of bg "P|ath".end|
|000011a0| 20 72 65 70 65 61 74 0d | 0d 2d 2d 20 6e 6f 77 20 | repeat.|.-- now |
|000011b0| 64 69 73 70 6c 61 79 20 | 74 68 65 20 6c 69 73 74 |display |the list|
|000011c0| 20 6f 66 20 61 76 61 69 | 6c 61 62 6c 65 20 70 61 | of avai|lable pa|
|000011d0| 74 68 73 20 61 6e 64 20 | 73 65 6c 65 63 74 20 6f |ths and |select o|
|000011e0| 6e 65 2e 0d 2d 2d 20 4f | 6e 6c 79 20 61 6c 6c 6f |ne..-- O|nly allo|
|000011f0| 77 20 22 4e 65 77 22 20 | 70 61 74 68 20 69 66 20 |w "New" |path if |
|00001200| 74 68 65 20 70 61 6c 65 | 74 74 65 20 69 73 20 69 |the pale|tte is i|
|00001210| 6e 20 41 75 74 68 6f 72 | 20 6d 6f 64 65 0d 70 75 |n Author| mode.pu|
|00001220| 74 20 22 20 20 4e 65 77 | 20 20 22 20 69 6e 74 6f |t " New| " into|
|00001230| 20 6d 79 42 75 74 74 6f | 6e 0d 72 65 70 65 61 74 | myButto|n.repeat|
|00001240| 20 66 6f 72 65 76 65 72 | 0d 69 66 20 6d 79 50 61 | forever|.if myPa|
|00001250| 6c 65 74 74 65 20 3d 20 | 22 41 75 74 68 6f 72 22 |lette = |"Author"|
|00001260| 20 74 68 65 6e 0d 70 75 | 74 20 58 53 63 72 6f 6c | then.pu|t XScrol|
|00001270| 6c 42 6f 78 28 31 2c 6c | 69 73 74 50 72 6f 6d 70 |lBox(1,l|istPromp|
|00001280| 74 2c 6d 79 50 61 74 68 | 4c 69 73 74 2c 20 6d 79 |t,myPath|List, my|
|00001290| 42 75 74 74 6f 6e 29 20 | 69 6e 74 6f 20 74 65 6d |Button) |into tem|
|000012a0| 70 50 61 74 68 43 61 72 | 64 0d 65 6c 73 65 0d 70 |pPathCar|d.else.p|
|000012b0| 75 74 20 58 53 63 72 6f | 6c 6c 42 6f 78 28 31 2c |ut XScro|llBox(1,|
|000012c0| 6c 69 73 74 50 72 6f 6d | 70 74 2c 6d 79 50 61 74 |listProm|pt,myPat|
|000012d0| 68 4c 69 73 74 29 20 69 | 6e 74 6f 20 74 65 6d 70 |hList) i|nto temp|
|000012e0| 50 61 74 68 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |PathCard|.end if.|
|000012f0| 69 66 20 74 65 6d 70 50 | 61 74 68 43 61 72 64 20 |if tempP|athCard |
|00001300| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 20 2d |is empty| then -|
|00001310| 2d 20 22 43 61 6e 63 65 | 6c 22 20 77 61 73 20 70 |- "Cance|l" was p|
|00001320| 72 65 73 73 65 64 0d 2d | 2d 20 64 6f 20 6e 6f 74 |ressed.-|- do not|
|00001330| 68 69 6e 67 20 61 6e 64 | 20 65 78 69 74 20 72 65 |hing and| exit re|
|00001340| 70 65 61 74 20 6c 6f 6f | 70 0d 70 75 74 20 22 63 |peat loo|p.put "c|
|00001350| 61 6e 63 65 6c 22 20 69 | 6e 74 6f 20 6f 70 65 6e |ancel" i|nto open|
|00001360| 50 61 74 68 53 74 61 74 | 75 73 0d 65 78 69 74 20 |PathStat|us.exit |
|00001370| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 69 66 20 69 |repeat.e|lse.if i|
|00001380| 74 65 6d 20 31 20 6f 66 | 20 74 65 6d 70 50 61 74 |tem 1 of| tempPat|
|00001390| 68 43 61 72 64 20 3d 20 | 6d 79 42 75 74 74 6f 6e |hCard = |myButton|
|000013a0| 20 74 68 65 6e 20 20 2d | 2d 20 63 72 65 61 74 65 | then -|- create|
|000013b0| 20 61 20 6e 65 77 20 70 | 61 74 68 0d 61 73 6b 20 | a new p|ath.ask |
|000013c0| 22 45 6e 74 65 72 20 74 | 68 65 20 6e 65 77 20 70 |"Enter t|he new p|
|000013d0| 61 74 68 20 6e 61 6d 65 | 22 20 77 69 74 68 20 22 |ath name|" with "|
|000013e0| 4e 65 77 20 50 61 74 68 | 22 0d 69 66 20 74 68 65 |New Path|".if the|
|000013f0| 20 72 65 73 75 6c 74 20 | 3d 20 22 43 61 6e 63 65 | result |= "Cance|
|00001400| 6c 22 20 74 68 65 6e 0d | 70 75 74 20 22 63 61 6e |l" then.|put "can|
|00001410| 63 65 6c 22 20 69 6e 74 | 6f 20 6f 70 65 6e 50 61 |cel" int|o openPa|
|00001420| 74 68 53 74 61 74 75 73 | 0d 65 78 69 74 20 72 65 |thStatus|.exit re|
|00001430| 70 65 61 74 0d 65 6c 73 | 65 0d 69 66 20 69 74 20 |peat.els|e.if it |
|00001440| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 2d 2d |is empty| then --|
|00001450| 20 64 6f 20 6e 6f 74 68 | 69 6e 67 20 61 6e 64 20 | do noth|ing and |
|00001460| 72 65 2d 65 6e 74 65 72 | 20 6c 6f 6f 70 0d 65 6c |re-enter| loop.el|
|00001470| 73 65 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6d |se.put i|t into m|
|00001480| 79 50 61 74 68 43 61 72 | 64 0d 67 6f 20 6c 61 73 |yPathCar|d.go las|
|00001490| 74 20 63 64 0d 64 6f 4d | 65 6e 75 20 22 4e 65 77 |t cd.doM|enu "New|
|000014a0| 20 43 61 72 64 22 0d 73 | 65 74 20 74 68 65 20 6e | Card".s|et the n|
|000014b0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 74 |ame of t|his cd t|
|000014c0| 6f 20 6d 79 50 61 74 68 | 43 61 72 64 0d 70 75 74 |o myPath|Card.put|
|000014d0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 6d 79 50 61 | empty i|nto myPa|
|000014e0| 74 68 0d 70 75 74 20 6d | 79 44 65 6c 69 6d 20 69 |th.put m|yDelim i|
|000014f0| 6e 74 6f 20 6d 79 4d 65 | 74 61 49 6e 66 6f 0d 70 |nto myMe|taInfo.p|
|00001500| 75 74 20 6d 79 44 65 6c | 69 6d 20 69 6e 74 6f 20 |ut myDel|im into |
|00001510| 62 67 20 66 6c 64 20 22 | 6d 65 74 61 69 6e 66 6f |bg fld "|metainfo|
|00001520| 72 6d 61 74 69 6f 6e 22 | 0d 70 75 74 20 65 6d 70 |rmation"|.put emp|
|00001530| 74 79 20 69 6e 74 6f 20 | 6d 79 48 69 73 74 6f 72 |ty into |myHistor|
|00001540| 79 0d 70 75 74 20 22 4e | 65 77 22 20 69 6e 74 6f |y.put "N|ew" into|
|00001550| 20 50 61 74 68 53 74 61 | 74 75 73 0d 70 75 74 20 | PathSta|tus.put |
|00001560| 22 4e 65 77 22 20 69 6e | 74 6f 20 6f 70 65 6e 50 |"New" in|to openP|
|00001570| 61 74 68 53 74 61 74 75 | 73 0d 65 78 69 74 20 72 |athStatu|s.exit r|
|00001580| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|00001590| 20 69 66 0d 65 6c 73 65 | 20 20 2d 2d 20 4f 4b 20 | if.else| -- OK |
|000015a0| 77 61 73 20 70 72 65 73 | 73 65 64 20 61 6e 64 20 |was pres|sed and |
|000015b0| 70 61 74 68 20 77 61 73 | 20 73 65 6c 65 63 74 65 |path was| selecte|
|000015c0| 64 0d 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |d.if ite|m 2 of t|
|000015d0| 65 6d 70 50 61 74 68 43 | 61 72 64 20 69 73 20 6e |empPathC|ard is n|
|000015e0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 20 2d |ot empty| then -|
|000015f0| 2d 20 70 61 74 68 20 77 | 61 73 20 73 65 6c 65 63 |- path w|as selec|
|00001600| 74 65 64 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |ted.put |item 2 o|
|00001610| 66 20 74 65 6d 70 50 61 | 74 68 43 61 72 64 20 69 |f tempPa|thCard i|
|00001620| 6e 74 6f 20 6d 79 50 61 | 74 68 43 61 72 64 0d 70 |nto myPa|thCard.p|
|00001630| 75 74 20 62 67 20 66 6c | 64 20 22 50 61 74 68 22 |ut bg fl|d "Path"|
|00001640| 20 6f 66 20 63 64 20 6d | 79 50 61 74 68 43 61 72 | of cd m|yPathCar|
|00001650| 64 20 69 6e 74 6f 20 6d | 79 50 61 74 68 0d 70 75 |d into m|yPath.pu|
|00001660| 74 20 62 67 20 66 6c 64 | 20 22 6d 65 74 61 49 6e |t bg fld| "metaIn|
|00001670| 66 6f 72 6d 61 74 69 6f | 6e 22 20 6f 66 20 63 64 |formatio|n" of cd|
|00001680| 20 6d 79 50 61 74 68 43 | 61 72 64 20 69 6e 74 6f | myPathC|ard into|
|00001690| 20 6d 79 4d 65 74 61 49 | 6e 66 6f 0d 70 75 74 20 | myMetaI|nfo.put |
|000016a0| 62 67 20 66 6c 64 20 48 | 69 73 74 6f 72 79 20 6f |bg fld H|istory o|
|000016b0| 66 20 63 64 20 6d 79 50 | 61 74 68 43 61 72 64 20 |f cd myP|athCard |
|000016c0| 69 6e 74 6f 20 6d 79 48 | 69 73 74 6f 72 79 0d 70 |into myH|istory.p|
|000016d0| 75 74 20 22 43 75 72 72 | 65 6e 74 22 20 69 6e 74 |ut "Curr|ent" int|
|000016e0| 6f 20 6f 70 65 6e 50 61 | 74 68 53 74 61 74 75 73 |o openPa|thStatus|
|000016f0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00001700| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00001710| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00001720| 20 67 65 74 50 61 74 68 | 0d 0d 0d 0d 6f 6e 20 67 | getPath|....on g|
|00001730| 6f 54 6f 4e 6f 64 65 20 | 6e 6f 64 65 4e 75 6d 62 |oToNode |nodeNumb|
|00001740| 65 72 0d 2d 2d 20 74 68 | 69 73 20 67 6f 65 73 20 |er.-- th|is goes |
|00001750| 74 6f 20 74 68 65 20 6e | 6f 64 65 20 69 6e 20 74 |to the n|ode in t|
|00001760| 68 65 20 70 61 74 68 20 | 74 68 61 74 20 69 73 20 |he path |that is |
|00001770| 69 64 65 6e 74 69 66 69 | 65 64 20 62 79 20 74 68 |identifi|ed by th|
|00001780| 65 20 70 61 72 61 6d 65 | 74 65 72 20 6e 6f 64 65 |e parame|ter node|
|00001790| 4e 75 6d 62 65 72 0d 67 | 6c 6f 62 61 6c 20 6d 79 |Number.g|lobal my|
|000017a0| 50 61 74 68 0d 69 66 20 | 6d 79 50 61 74 68 20 69 |Path.if |myPath i|
|000017b0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 61 6e 73 |s empty |then.ans|
|000017c0| 77 65 72 20 22 4e 6f 20 | 70 61 74 68 20 69 73 20 |wer "No |path is |
|000017d0| 6f 70 65 6e 20 6f 72 20 | 74 68 65 72 65 20 61 72 |open or |there ar|
|000017e0| 65 20 6e 6f 20 6e 6f 64 | 65 73 20 69 6e 20 74 68 |e no nod|es in th|
|000017f0| 65 20 70 61 74 68 2e 22 | 0d 65 78 69 74 20 67 6f |e path."|.exit go|
|00001800| 54 6f 4e 6f 64 65 0d 65 | 6e 64 20 69 66 0d 70 75 |ToNode.e|nd if.pu|
|00001810| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 65 |t item 1| of line|
|00001820| 20 4e 6f 64 65 4e 75 6d | 62 65 72 20 6f 66 20 6d | NodeNum|ber of m|
|00001830| 79 50 61 74 68 20 69 6e | 74 6f 20 6d 79 43 61 72 |yPath in|to myCar|
|00001840| 64 49 44 20 2d 2d 20 67 | 65 74 20 6e 6f 64 65 20 |dID -- g|et node |
|00001850| 49 44 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ID.put i|tem 2 of|
|00001860| 20 6c 69 6e 65 20 4e 6f | 64 65 4e 75 6d 62 65 72 | line No|deNumber|
|00001870| 20 6f 66 20 6d 79 50 61 | 74 68 20 69 6e 74 6f 20 | of myPa|th into |
|00001880| 6d 79 53 74 61 63 6b 20 | 20 2d 2d 20 67 65 74 20 |myStack | -- get |
|00001890| 73 74 61 63 6b 20 6e 61 | 6d 65 0d 67 6f 20 63 64 |stack na|me.go cd|
|000018a0| 20 69 64 20 6d 79 43 61 | 72 64 49 44 20 6f 66 20 | id myCa|rdID of |
|000018b0| 73 74 61 63 6b 20 6d 79 | 53 74 61 63 6b 0d 69 66 |stack my|Stack.if|
|000018c0| 20 6d 79 43 61 72 64 49 | 44 20 3c 3e 20 74 68 65 | myCardI|D <> the|
|000018d0| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 74 68 69 | short i|d of thi|
|000018e0| 73 20 63 64 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |s cd the|n.answer|
|000018f0| 20 22 43 61 72 64 20 69 | 64 22 20 26 26 20 6d 79 | "Card i|d" && my|
|00001900| 43 61 72 64 49 44 20 26 | 26 20 22 69 6e 20 73 74 |CardID &|& "in st|
|00001910| 61 63 6b 22 20 26 26 20 | 6d 79 53 74 61 63 6b 20 |ack" && |myStack |
|00001920| 26 26 20 22 6e 6f 20 6c | 6f 6e 67 65 72 20 65 78 |&& "no l|onger ex|
|00001930| 69 73 74 73 2e 22 20 77 | 69 74 68 20 22 4f 6b 22 |ists." w|ith "Ok"|
|00001940| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 67 6f 54 6f |.end if.|end goTo|
|00001950| 4e 6f 64 65 0d 0d 2d 2d | 20 a5 a5 a5 a5 20 54 68 |Node..--| .... Th|
|00001960| 65 20 6e 65 78 74 20 66 | 65 77 20 68 61 6e 64 6c |e next f|ew handl|
|00001970| 65 72 73 20 73 68 6f 75 | 6c 64 20 67 6f 20 69 6e |ers shou|ld go in|
|00001980| 20 74 68 65 20 48 6f 6d | 65 20 73 74 61 63 6b 20 | the Hom|e stack |
|00001990| 73 6f 20 74 68 61 74 20 | a5 a5 a5 a5 0d 2d 2d 20 |so that |.....-- |
|000019a0| 74 68 65 79 20 63 61 6e | 20 62 65 20 61 63 63 65 |they can| be acce|
|000019b0| 73 73 65 64 20 66 72 6f | 6d 20 61 6e 79 20 73 74 |ssed fro|m any st|
|000019c0| 61 63 6b 2e 0d 2d 2d 20 | 54 68 65 20 68 61 6e 64 |ack..-- |The hand|
|000019d0| 6c 65 72 73 20 74 6f 20 | 67 6f 20 69 6e 20 74 68 |lers to |go in th|
|000019e0| 65 20 48 6f 6d 65 20 73 | 74 61 63 6b 20 74 6f 20 |e Home s|tack to |
|000019f0| 62 65 20 61 63 63 65 73 | 73 65 64 20 66 72 6f 6d |be acces|sed from|
|00001a00| 20 74 68 65 0d 2d 2d 20 | 54 72 61 69 6c 42 6c 61 | the.-- |TrailBla|
|00001a10| 7a 65 72 20 70 61 6c 65 | 74 74 65 20 61 72 65 3a |zer pale|tte are:|
|00001a20| 0d 2d 2d 20 6d 65 74 61 | 49 6e 66 6f 2c 20 6e 65 |.-- meta|Info, ne|
|00001a30| 78 74 50 61 74 68 2c 20 | 50 72 65 76 50 61 74 68 |xtPath, |PrevPath|
|00001a40| 2c 20 6c 61 73 74 50 61 | 74 68 2c 20 41 64 64 50 |, lastPa|th, AddP|
|00001a50| 61 74 68 2c 20 44 65 6c | 65 74 65 50 61 74 68 2c |ath, Del|etePath,|
|00001a60| 20 6f 70 65 6e 50 61 74 | 68 2c 20 73 61 76 65 50 | openPat|h, saveP|
|00001a70| 61 74 68 0d 0d 6f 6e 20 | 75 70 64 61 74 65 49 6e |ath..on |updateIn|
|00001a80| 66 6f 20 6e 65 77 4e 6f | 64 65 4e 75 6d 2c 20 6d |fo newNo|deNum, m|
|00001a90| 79 4e 6f 64 65 4e 75 6d | 0d 2d 2d 20 54 68 69 73 |yNodeNum|.-- This|
|00001aa0| 20 75 70 64 61 74 65 73 | 20 74 68 65 20 6d 65 74 | updates| the met|
|00001ab0| 61 2d 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 77 69 |a-inform|ation wi|
|00001ac0| 6e 64 6f 77 20 77 68 65 | 6e 20 61 20 6e 65 77 20 |ndow whe|n a new |
|00001ad0| 6e 6f 64 65 20 69 73 20 | 61 63 63 65 73 73 65 64 |node is |accessed|
|00001ae0| 0d 2d 2d 20 73 6f 20 74 | 68 61 74 20 69 74 20 64 |.-- so t|hat it d|
|00001af0| 69 73 70 6c 61 79 73 20 | 74 68 65 20 6d 65 74 61 |isplays |the meta|
|00001b00| 2d 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 66 6f 72 |-informa|tion for|
|00001b10| 20 68 74 65 20 72 69 67 | 68 74 20 6e 6f 64 65 2e | hte rig|ht node.|
|00001b20| 0d 67 6c 6f 62 61 6c 20 | 6d 79 4d 65 74 61 49 6e |.global |myMetaIn|
|00001b30| 66 6f 2c 20 6d 79 49 6e | 66 6f 57 69 6e 64 6f 77 |fo, myIn|foWindow|
|00001b40| 2c 20 69 6e 66 6f 45 64 | 69 74 53 74 61 74 75 73 |, infoEd|itStatus|
|00001b50| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00001b60| 69 6e 64 6f 77 20 6d 79 | 49 6e 66 6f 57 69 6e 64 |indow my|InfoWind|
|00001b70| 6f 77 20 74 68 65 6e 0d | 0d 69 66 20 69 6e 66 6f |ow then.|.if info|
|00001b80| 45 64 69 74 53 74 61 74 | 75 73 20 3d 20 22 54 52 |EditStat|us = "TR|
|00001b90| 55 45 22 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |UE" then|.put the|
|00001ba0| 20 74 65 78 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 | text of| window |
|00001bb0| 6d 79 49 6e 66 6f 57 69 | 6e 64 6f 77 20 69 6e 74 |myInfoWi|ndow int|
|00001bc0| 6f 20 6d 79 49 6e 66 6f | 0d 69 6e 73 65 72 74 49 |o myInfo|.insertI|
|00001bd0| 6e 66 6f 20 6d 79 4e 6f | 64 65 4e 75 6d 2c 20 6d |nfo myNo|deNum, m|
|00001be0| 79 49 6e 66 6f 0d 73 65 | 74 20 74 68 65 20 6c 6f |yInfo.se|t the lo|
|00001bf0| 63 6b 54 65 78 74 20 6f | 66 20 77 69 6e 64 6f 77 |ckText o|f window|
|00001c00| 20 6d 79 49 6e 66 6f 57 | 69 6e 64 6f 77 20 74 6f | myInfoW|indow to|
|00001c10| 20 74 72 75 65 0d 70 75 | 74 20 22 46 41 4c 53 45 | true.pu|t "FALSE|
|00001c20| 22 20 69 6e 74 6f 20 69 | 6e 66 6f 45 64 69 74 53 |" into i|nfoEditS|
|00001c30| 74 61 74 75 73 0d 65 6e | 64 20 69 66 0d 0d 70 75 |tatus.en|d if..pu|
|00001c40| 74 20 70 61 72 73 65 49 | 6e 66 6f 28 6e 65 77 4e |t parseI|nfo(newN|
|00001c50| 6f 64 65 4e 75 6d 29 20 | 69 6e 74 6f 20 6d 79 49 |odeNum) |into myI|
|00001c60| 6e 66 6f 0d 2d 2d 20 69 | 66 20 6d 79 49 6e 66 6f |nfo.-- i|f myInfo|
|00001c70| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 2d | is empt|y then.-|
|00001c80| 2d 20 63 6c 6f 73 65 49 | 6e 66 6f 57 69 6e 64 6f |- closeI|nfoWindo|
|00001c90| 77 20 20 20 20 20 2d 2d | 20 6d 61 79 20 62 65 20 |w --| may be |
|00001ca0| 62 65 74 74 65 72 20 74 | 6f 20 64 69 73 70 6c 61 |better t|o displa|
|00001cb0| 79 20 74 68 65 20 62 6c | 61 6e 6b 20 77 69 6e 64 |y the bl|ank wind|
|00001cc0| 6f 77 0d 2d 2d 20 61 6e | 64 20 6c 65 74 20 74 68 |ow.-- an|d let th|
|00001cd0| 65 20 75 73 65 72 20 63 | 6c 6f 73 65 20 69 74 2e |e user c|lose it.|
|00001ce0| 20 54 68 65 20 75 73 65 | 72 20 73 68 6f 75 6c 64 | The use|r should|
|00001cf0| 20 68 61 76 65 20 63 6f | 6e 74 72 6f 6c 2e 0d 2d | have co|ntrol..-|
|00001d00| 2d 20 65 6c 73 65 0d 73 | 65 74 20 74 65 78 74 20 |- else.s|et text |
|00001d10| 6f 66 20 77 69 6e 64 6f | 77 20 6d 79 49 6e 66 6f |of windo|w myInfo|
|00001d20| 57 69 6e 64 6f 77 20 74 | 6f 20 6d 79 49 6e 66 6f |Window t|o myInfo|
|00001d30| 0d 2d 2d 20 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |.-- end |if.end i|
|00001d40| 66 0d 65 6e 64 20 75 70 | 64 61 74 65 49 6e 66 6f |f.end up|dateInfo|
|00001d50| 0d 0d 6f 6e 20 6d 65 74 | 61 49 6e 66 6f 0d 2d 2d |..on met|aInfo.--|
|00001d60| 20 70 61 72 73 65 20 74 | 68 65 20 6d 65 74 61 49 | parse t|he metaI|
|00001d70| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 69 65 6c 64 |nformati|on field|
|00001d80| 20 74 6f 20 70 75 74 20 | 6d 65 74 61 2d 69 6e 66 | to put |meta-inf|
|00001d90| 6f 72 6d 61 74 69 6f 6e | 20 77 69 6e 64 6f 77 0d |ormation| window.|
|00001da0| 2d 2d 20 6f 6e 20 74 68 | 65 20 73 63 72 65 65 6e |-- on th|e screen|
|00001db0| 2c 20 75 73 69 6e 67 20 | 61 6e 20 65 78 74 65 72 |, using |an exter|
|00001dc0| 6e 61 6c 20 77 69 6e 64 | 6f 77 0d 67 6c 6f 62 61 |nal wind|ow.globa|
|00001dd0| 6c 20 63 75 72 72 4e 6f | 64 65 4e 75 6d 2c 20 6d |l currNo|deNum, m|
|00001de0| 79 4d 65 74 61 49 6e 66 | 6f 2c 20 6d 79 49 6e 66 |yMetaInf|o, myInf|
|00001df0| 6f 57 69 6e 64 6f 77 2c | 20 6d 79 49 6e 66 6f 52 |oWindow,| myInfoR|
|00001e00| 65 63 74 2c 20 6d 79 50 | 61 6c 65 74 74 65 2c 20 |ect, myP|alette, |
|00001e10| 6d 79 50 61 74 68 0d 6c | 6f 63 6b 20 73 63 72 65 |myPath.l|ock scre|
|00001e20| 65 6e 0d 69 66 20 6d 79 | 50 61 74 68 20 69 73 20 |en.if my|Path is |
|00001e30| 65 6d 70 74 79 20 74 68 | 65 6e 0d 61 6e 73 77 65 |empty th|en.answe|
|00001e40| 72 20 22 4e 6f 20 70 61 | 74 68 20 69 73 20 6f 70 |r "No pa|th is op|
|00001e50| 65 6e 20 6f 72 20 74 68 | 65 72 65 20 61 72 65 20 |en or th|ere are |
|00001e60| 6e 6f 20 6e 6f 64 65 73 | 20 69 6e 20 74 68 65 20 |no nodes| in the |
|00001e70| 70 61 74 68 2e 22 0d 65 | 78 69 74 20 6d 65 74 61 |path.".e|xit meta|
|00001e80| 69 6e 66 6f 0d 65 6e 64 | 20 69 66 0d 69 66 20 63 |info.end| if.if c|
|00001e90| 75 72 72 4e 6f 64 65 4e | 75 6d 20 3d 20 30 20 74 |urrNodeN|um = 0 t|
|00001ea0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 61 6e 20 |hen.answ|er "Can |
|00001eb0| 6e 6f 74 20 61 64 64 20 | 6f 72 20 64 69 73 70 6c |not add |or displ|
|00001ec0| 61 79 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 75 |ay infor|mation u|
|00001ed0| 6e 74 69 6c 20 79 6f 75 | 20 68 61 76 65 20 61 64 |ntil you| have ad|
|00001ee0| 64 65 64 20 61 20 6e 6f | 64 65 2e 22 20 77 69 74 |ded a no|de." wit|
|00001ef0| 68 20 22 4f 6b 22 0d 65 | 78 69 74 20 6d 65 74 61 |h "Ok".e|xit meta|
|00001f00| 49 6e 66 6f 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |Info.end| if.put |
|00001f10| 70 61 72 73 65 49 6e 66 | 6f 28 63 75 72 72 4e 6f |parseInf|o(currNo|
|00001f20| 64 65 4e 75 6d 29 20 69 | 6e 74 6f 20 6d 79 49 6e |deNum) i|nto myIn|
|00001f30| 66 6f 0d 69 66 20 6d 79 | 49 6e 66 6f 20 69 73 20 |fo.if my|Info is |
|00001f40| 65 6d 70 74 79 20 74 68 | 65 6e 20 20 20 2d 2d 20 |empty th|en -- |
|00001f50| 63 61 6e 20 61 64 64 20 | 73 6f 6d 65 20 6d 65 74 |can add |some met|
|00001f60| 61 2d 69 6e 66 6f 0d 69 | 66 20 6d 79 50 61 6c 65 |a-info.i|f myPale|
|00001f70| 74 74 65 20 3d 20 22 41 | 75 74 68 6f 72 22 20 74 |tte = "A|uthor" t|
|00001f80| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 41 64 64 20 |hen.answ|er "Add |
|00001f90| 73 6f 6d 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |some inf|ormation|
|00001fa0| 20 66 6f 72 20 74 68 69 | 73 20 6e 6f 64 65 3f 22 | for thi|s node?"|
|00001fb0| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 2c 20 | with "C|ancel", |
|00001fc0| 22 41 64 64 22 0d 69 66 | 20 69 74 20 3d 20 22 43 |"Add".if| it = "C|
|00001fd0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 0d 2d 2d 20 64 |ancel" t|hen.-- d|
|00001fe0| 6f 20 6e 6f 74 68 69 6e | 67 0d 65 6c 73 65 0d 41 |o nothin|g.else.A|
|00001ff0| 64 64 4d 65 74 61 49 6e | 66 6f 20 63 75 72 72 4e |ddMetaIn|fo currN|
|00002000| 6f 64 65 4e 75 6d 0d 65 | 6e 64 20 69 66 0d 65 6c |odeNum.e|nd if.el|
|00002010| 73 65 0d 61 6e 73 77 65 | 72 20 22 54 68 65 72 65 |se.answe|r "There|
|00002020| 20 69 73 20 6e 6f 20 6d | 65 74 61 2d 69 6e 66 6f | is no m|eta-info|
|00002030| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 69 73 |rmation |for this|
|00002040| 20 6e 6f 64 65 2e 22 20 | 77 69 74 68 20 22 4f 6b | node." |with "Ok|
|00002050| 22 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 67 6f |".end if|.else.go|
|00002060| 54 6f 4e 6f 64 65 20 63 | 75 72 72 4e 6f 64 65 4e |ToNode c|urrNodeN|
|00002070| 75 6d 0d 74 65 78 74 6f | 69 64 20 6d 79 49 6e 66 |um.texto|id myInf|
|00002080| 6f 57 69 6e 64 6f 77 2c | 20 6d 79 49 6e 66 6f 2c |oWindow,| myInfo,|
|00002090| 20 6d 79 49 6e 66 6f 52 | 65 63 74 20 20 2d 2d 20 | myInfoR|ect -- |
|000020a0| 63 6f 75 72 74 65 73 79 | 20 46 2e 20 52 69 6e 61 |courtesy| F. Rina|
|000020b0| 6c 64 69 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |ldi.end |if.end m|
|000020c0| 65 74 61 49 6e 66 6f 0d | 0d 6f 6e 20 41 64 64 4d |etaInfo.|.on AddM|
|000020d0| 65 74 61 49 6e 66 6f 20 | 6e 6f 64 65 4e 75 6d 62 |etaInfo |nodeNumb|
|000020e0| 65 72 0d 2d 2d 20 54 68 | 69 73 20 64 69 73 70 6c |er.-- Th|is displ|
|000020f0| 61 79 73 20 74 68 65 20 | 6d 65 74 61 2d 69 6e 66 |ays the |meta-inf|
|00002100| 6f 72 6d 61 74 69 6f 6e | 20 77 69 6e 64 6f 77 20 |ormation| window |
|00002110| 69 6e 20 65 64 69 74 20 | 6d 6f 64 65 20 73 6f 20 |in edit |mode so |
|00002120| 61 6e 20 61 75 74 68 6f | 72 0d 2d 2d 20 6d 61 79 |an autho|r.-- may|
|00002130| 20 65 6e 74 65 72 20 6d | 65 74 61 2d 69 6e 66 6f | enter m|eta-info|
|00002140| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 20 6e 6f |rmation |for a no|
|00002150| 64 65 2e 0d 67 6c 6f 62 | 61 6c 20 6d 79 4d 65 74 |de..glob|al myMet|
|00002160| 61 49 6e 66 6f 2c 20 69 | 6e 66 6f 45 64 69 74 53 |aInfo, i|nfoEditS|
|00002170| 74 61 74 75 73 2c 20 6d | 79 49 6e 66 6f 52 65 63 |tatus, m|yInfoRec|
|00002180| 74 2c 20 6d 79 49 6e 66 | 6f 57 69 6e 64 6f 77 2c |t, myInf|oWindow,|
|00002190| 20 63 75 72 72 4e 6f 64 | 65 4e 75 6d 0d 6c 6f 63 | currNod|eNum.loc|
|000021a0| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 22 54 52 |k screen|.put "TR|
|000021b0| 55 45 22 20 69 6e 74 6f | 20 69 6e 66 6f 45 64 69 |UE" into| infoEdi|
|000021c0| 74 53 74 61 74 75 73 0d | 2d 2d 20 70 75 74 20 65 |tStatus.|-- put e|
|000021d0| 6d 70 74 79 20 69 6e 74 | 6f 20 6d 79 49 6e 66 6f |mpty int|o myInfo|
|000021e0| 0d 2d 2d 20 63 68 61 6e | 67 65 64 20 74 68 69 73 |.-- chan|ged this|
|000021f0| 20 69 6e 20 63 61 73 65 | 20 77 65 20 77 61 6e 74 | in case| we want|
|00002200| 20 74 6f 20 65 64 69 74 | 20 74 68 65 20 69 6e 66 | to edit| the inf|
|00002210| 6f 2e 0d 70 75 74 20 70 | 61 72 73 65 49 6e 66 6f |o..put p|arseInfo|
|00002220| 28 63 75 72 72 4e 6f 64 | 65 4e 75 6d 29 20 69 6e |(currNod|eNum) in|
|00002230| 74 6f 20 6d 79 49 6e 66 | 6f 0d 74 65 78 74 6f 69 |to myInf|o.textoi|
|00002240| 64 20 6d 79 49 6e 66 6f | 57 69 6e 64 6f 77 2c 20 |d myInfo|Window, |
|00002250| 6d 79 49 6e 66 6f 2c 20 | 6d 79 49 6e 66 6f 52 65 |myInfo, |myInfoRe|
|00002260| 63 74 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 6b 54 |ct.set t|he lockT|
|00002270| 65 78 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 79 |ext of w|indow my|
|00002280| 49 6e 66 6f 57 69 6e 64 | 6f 77 20 74 6f 20 66 61 |InfoWind|ow to fa|
|00002290| 6c 73 65 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |lse.unlo|ck scree|
|000022a0| 6e 0d 65 6e 64 20 41 64 | 64 4d 65 74 61 49 6e 66 |n.end Ad|dMetaInf|
|000022b0| 6f 0d 0d 6f 6e 20 63 6c | 69 63 49 6e 54 65 78 74 |o..on cl|icInText|
|000022c0| 20 57 68 61 74 2c 57 68 | 65 72 65 2c 53 74 61 72 | What,Wh|ere,Star|
|000022d0| 74 2c 53 74 6f 70 2c 46 | 6f 6e 74 2c 53 69 7a 65 |t,Stop,F|ont,Size|
|000022e0| 2c 53 74 79 6c 65 2c 43 | 6c 72 0d 2d 2d 20 54 68 |,Style,C|lr.-- Th|
|000022f0| 69 73 20 63 6c 6f 73 65 | 20 74 68 65 20 6d 65 74 |is close| the met|
|00002300| 61 2d 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 77 69 |a-inform|ation wi|
|00002310| 6e 64 6f 77 2e 20 54 68 | 65 20 63 6c 69 63 49 6e |ndow. Th|e clicIn|
|00002320| 54 65 78 74 20 6d 65 73 | 73 61 67 65 0d 2d 2d 20 |Text mes|sage.-- |
|00002330| 69 73 20 73 65 6e 74 20 | 77 68 65 6e 20 74 68 65 |is sent |when the|
|00002340| 20 65 78 74 65 72 6e 61 | 6c 20 77 69 6e 64 6f 77 | externa|l window|
|00002350| 2c 20 63 72 65 61 74 65 | 64 20 75 73 69 6e 67 20 |, create|d using |
|00002360| 74 68 65 20 54 65 78 74 | 6f 69 64 20 58 43 4d 44 |the Text|oid XCMD|
|00002370| 2c 0d 2d 2d 20 69 73 20 | 63 6c 69 63 6b 65 64 20 |,.-- is |clicked |
|00002380| 69 6e 20 75 73 69 6e 67 | 20 74 68 65 20 6d 6f 75 |in using| the mou|
|00002390| 73 65 2e 20 57 65 20 63 | 6f 75 6c 64 2c 20 70 65 |se. We c|ould, pe|
|000023a0| 72 68 61 70 73 2c 20 64 | 6f 20 6f 74 68 65 72 20 |rhaps, d|o other |
|000023b0| 70 72 6f 63 65 73 73 69 | 6e 67 0d 2d 2d 20 69 66 |processi|ng.-- if|
|000023c0| 20 64 65 73 69 72 65 64 | 2c 20 73 75 63 68 20 61 | desired|, such a|
|000023d0| 73 20 70 72 6f 63 65 73 | 73 69 6e 67 20 74 68 65 |s proces|sing the|
|000023e0| 20 74 65 78 74 20 63 68 | 75 6e 6b 20 63 6c 69 63 | text ch|unk clic|
|000023f0| 6b 65 64 20 69 6e 20 66 | 6f 72 20 75 73 65 20 61 |ked in f|or use a|
|00002400| 73 0d 2d 2d 20 61 20 68 | 79 70 65 72 74 65 78 74 |s.-- a h|ypertext|
|00002410| 20 6c 69 6e 6b 2e 0d 63 | 6c 6f 73 65 49 6e 66 6f | link..c|loseInfo|
|00002420| 57 69 6e 64 6f 77 0d 65 | 6e 64 20 63 6c 69 63 49 |Window.e|nd clicI|
|00002430| 6e 54 65 78 74 0d 0d 6f | 6e 20 63 6c 6f 73 65 54 |nText..o|n closeT|
|00002440| 65 78 74 6f 69 64 20 77 | 68 69 63 68 0d 2d 2d 20 |extoid w|hich.-- |
|00002450| 54 68 69 73 20 63 6c 6f | 73 65 73 20 74 68 65 20 |This clo|ses the |
|00002460| 6d 65 74 61 2d 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |meta-inf|ormation|
|00002470| 20 77 69 6e 64 6f 77 2e | 20 46 69 72 73 74 20 77 | window.| First w|
|00002480| 65 20 6d 75 73 74 20 63 | 68 65 63 6b 0d 2d 2d 20 |e must c|heck.-- |
|00002490| 20 20 20 74 68 61 74 20 | 74 68 69 73 20 6d 65 73 | that |this mes|
|000024a0| 73 61 67 65 20 69 73 20 | 73 65 6e 74 20 66 72 6f |sage is |sent fro|
|000024b0| 6d 20 74 68 65 20 6d 65 | 74 61 2d 69 6e 66 6f 72 |m the me|ta-infor|
|000024c0| 6d 61 74 69 6f 6e 20 77 | 69 6e 64 6f 77 2e 20 49 |mation w|indow. I|
|000024d0| 66 0d 2d 2d 20 20 20 20 | 69 74 20 69 73 6e 27 74 |f.-- |it isn't|
|000024e0| 20 74 68 65 6e 20 77 65 | 20 63 61 6e 20 70 61 73 | then we| can pas|
|000024f0| 73 20 69 74 20 6f 6e 2e | 0d 2d 2d 20 49 66 20 74 |s it on.|.-- If t|
|00002500| 68 65 20 6d 65 74 61 2d | 69 6e 66 6f 72 6d 61 74 |he meta-|informat|
|00002510| 69 6f 6e 20 69 73 20 62 | 65 69 6e 67 20 65 64 69 |ion is b|eing edi|
|00002520| 74 65 64 20 74 68 65 6e | 20 77 65 20 6d 75 73 74 |ted then| we must|
|00002530| 20 73 61 76 65 20 69 74 | 0d 2d 2d 20 20 20 20 66 | save it|.-- f|
|00002540| 6f 72 20 74 68 69 73 20 | 6e 6f 64 65 2e 0d 67 6c |or this |node..gl|
|00002550| 6f 62 61 6c 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |obal cur|rNodeNum|
|00002560| 2c 20 6d 79 49 6e 66 6f | 57 69 6e 64 6f 77 2c 20 |, myInfo|Window, |
|00002570| 69 6e 66 6f 45 64 69 74 | 53 74 61 74 75 73 0d 69 |infoEdit|Status.i|
|00002580| 66 20 77 68 69 63 68 20 | 3d 20 6d 79 49 6e 66 6f |f which |= myInfo|
|00002590| 57 69 6e 64 6f 77 20 74 | 68 65 6e 0d 69 66 20 69 |Window t|hen.if i|
|000025a0| 6e 66 6f 45 64 69 74 53 | 74 61 74 75 73 20 3d 20 |nfoEditS|tatus = |
|000025b0| 22 54 52 55 45 22 20 74 | 68 65 6e 0d 67 65 74 20 |"TRUE" t|hen.get |
|000025c0| 74 68 65 20 74 65 78 74 | 20 6f 66 20 77 69 6e 64 |the text| of wind|
|000025d0| 6f 77 20 77 68 69 63 68 | 0d 70 75 74 20 69 74 20 |ow which|.put it |
|000025e0| 69 6e 74 6f 20 6d 79 49 | 6e 66 6f 0d 69 6e 73 65 |into myI|nfo.inse|
|000025f0| 72 74 49 6e 66 6f 20 63 | 75 72 72 4e 6f 64 65 4e |rtInfo c|urrNodeN|
|00002600| 75 6d 2c 20 6d 79 49 6e | 66 6f 0d 70 75 74 20 22 |um, myIn|fo.put "|
|00002610| 46 41 4c 53 45 22 20 69 | 6e 74 6f 20 69 6e 66 6f |FALSE" i|nto info|
|00002620| 45 64 69 74 53 74 61 74 | 75 73 0d 65 6e 64 20 69 |EditStat|us.end i|
|00002630| 66 0d 65 6e 64 20 69 66 | 0d 73 61 76 65 49 6e 66 |f.end if|.saveInf|
|00002640| 6f 52 65 63 74 0d 65 6e | 64 20 63 6c 6f 73 65 54 |oRect.en|d closeT|
|00002650| 65 78 74 6f 69 64 0d 0d | 0d 6f 6e 20 69 6e 73 65 |extoid..|.on inse|
|00002660| 72 74 49 6e 66 6f 20 6e | 6f 64 65 4e 75 6d 62 65 |rtInfo n|odeNumbe|
|00002670| 72 2c 20 6d 79 54 65 78 | 74 0d 2d 2d 20 54 68 69 |r, myTex|t.-- Thi|
|00002680| 73 20 69 6e 73 65 72 74 | 73 20 6d 65 74 61 2d 69 |s insert|s meta-i|
|00002690| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 6e 74 6f 20 |nformati|on into |
|000026a0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 70 6f 73 69 |the corr|ect posi|
|000026b0| 74 69 6f 6e 20 69 6e 20 | 74 68 65 0d 2d 2d 20 20 |tion in |the.-- |
|000026c0| 20 20 6d 65 74 61 2d 69 | 6e 66 6f 72 6d 61 74 69 | meta-i|nformati|
|000026d0| 6f 6e 20 73 74 72 75 63 | 74 75 72 65 2e 20 49 74 |on struc|ture. It|
|000026e0| 20 6d 75 73 74 20 70 61 | 72 73 65 20 74 68 65 20 | must pa|rse the |
|000026f0| 73 74 72 75 63 74 75 72 | 65 20 61 6e 64 20 63 6f |structur|e and co|
|00002700| 75 6e 74 0d 2d 2d 20 20 | 20 20 74 68 65 20 6f 63 |unt.-- | the oc|
|00002710| 63 75 72 65 6e 63 65 73 | 20 6f 66 20 74 68 65 20 |curences| of the |
|00002720| 64 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 64 65 74 |delimite|r to det|
|00002730| 65 72 6d 69 6e 65 20 74 | 68 65 20 63 6f 72 72 65 |ermine t|he corre|
|00002740| 63 74 20 70 6f 73 69 74 | 69 6f 6e 2e 0d 67 6c 6f |ct posit|ion..glo|
|00002750| 62 61 6c 20 6d 79 4d 65 | 74 61 49 6e 66 6f 2c 20 |bal myMe|taInfo, |
|00002760| 6d 79 44 65 6c 69 6d 0d | 69 66 20 4e 6f 64 65 4e |myDelim.|if NodeN|
|00002770| 75 6d 62 65 72 20 3d 20 | 30 20 74 68 65 6e 0d 70 |umber = |0 then.p|
|00002780| 75 74 20 6d 79 44 65 6c | 69 6d 20 26 20 72 65 74 |ut myDel|im & ret|
|00002790| 75 72 6e 20 26 20 6d 79 | 44 65 6c 69 6d 20 69 6e |urn & my|Delim in|
|000027a0| 74 6f 20 6d 79 4d 65 74 | 61 49 6e 66 6f 0d 65 6c |to myMet|aInfo.el|
|000027b0| 73 65 0d 70 75 74 20 6e | 6f 64 65 4e 75 6d 62 65 |se.put n|odeNumbe|
|000027c0| 72 20 2d 20 31 20 69 6e | 74 6f 20 70 72 65 76 4e |r - 1 in|to prevN|
|000027d0| 6f 64 65 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 78 |ode.put |0 into x|
|000027e0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 74 68 69 73 |.put 0 i|nto this|
|000027f0| 4e 6f 64 65 0d 72 65 70 | 65 61 74 20 66 6f 72 65 |Node.rep|eat fore|
|00002800| 76 65 72 0d 70 75 74 20 | 78 20 2b 20 31 20 69 6e |ver.put |x + 1 in|
|00002810| 74 6f 20 78 0d 69 66 20 | 28 6c 69 6e 65 20 78 20 |to x.if |(line x |
|00002820| 6f 66 20 6d 79 4d 65 74 | 61 49 6e 66 6f 29 20 3d |of myMet|aInfo) =|
|00002830| 20 6d 79 44 65 6c 69 6d | 20 74 68 65 6e 0d 69 66 | myDelim| then.if|
|00002840| 20 74 68 69 73 4e 6f 64 | 65 20 3d 20 70 72 65 76 | thisNod|e = prev|
|00002850| 4e 6f 64 65 20 74 68 65 | 6e 0d 70 75 74 20 72 65 |Node the|n.put re|
|00002860| 74 75 72 6e 20 26 20 6d | 79 54 65 78 74 20 61 66 |turn & m|yText af|
|00002870| 74 65 72 20 6c 69 6e 65 | 20 78 20 6f 66 20 6d 79 |ter line| x of my|
|00002880| 4d 65 74 61 49 6e 66 6f | 0d 65 78 69 74 20 72 65 |MetaInfo|.exit re|
|00002890| 70 65 61 74 0d 65 6c 73 | 65 0d 70 75 74 20 74 68 |peat.els|e.put th|
|000028a0| 69 73 4e 6f 64 65 20 2b | 20 31 20 69 6e 74 6f 20 |isNode +| 1 into |
|000028b0| 74 68 69 73 4e 6f 64 65 | 0d 65 6e 64 20 69 66 0d |thisNode|.end if.|
|000028c0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000028d0| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 6e 73 |t.end if|.end ins|
|000028e0| 65 72 74 49 6e 66 6f 0d | 0d 6f 6e 20 63 6c 6f 73 |ertInfo.|.on clos|
|000028f0| 65 49 6e 66 6f 57 69 6e | 64 6f 77 0d 67 6c 6f 62 |eInfoWin|dow.glob|
|00002900| 61 6c 20 6d 79 49 6e 66 | 6f 57 69 6e 64 6f 77 0d |al myInf|oWindow.|
|00002910| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00002920| 6e 64 6f 77 20 6d 79 49 | 6e 66 6f 57 69 6e 64 6f |ndow myI|nfoWindo|
|00002930| 77 20 74 68 65 6e 0d 63 | 6c 6f 73 65 20 77 69 6e |w then.c|lose win|
|00002940| 64 6f 77 20 6d 79 49 6e | 66 6f 57 69 6e 64 6f 77 |dow myIn|foWindow|
|00002950| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 63 6c 6f 73 |.end if.|end clos|
|00002960| 65 49 6e 66 6f 57 69 6e | 64 6f 77 0d 0d 6f 6e 20 |eInfoWin|dow..on |
|00002970| 73 61 76 65 49 6e 66 6f | 52 65 63 74 0d 2d 2d 20 |saveInfo|Rect.-- |
|00002980| 74 68 69 73 20 73 61 76 | 65 73 20 74 68 65 20 6c |this sav|es the l|
|00002990| 61 73 74 20 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |ast posi|tion of |
|000029a0| 74 68 65 20 6d 65 74 61 | 2d 69 6e 66 6f 72 6d 61 |the meta|-informa|
|000029b0| 74 69 6f 6e 20 77 69 6e | 64 6f 77 0d 2d 2d 20 73 |tion win|dow.-- s|
|000029c0| 6f 20 74 68 61 74 20 69 | 74 20 63 61 6e 20 62 65 |o that i|t can be|
|000029d0| 20 72 65 2d 6f 70 65 6e | 65 64 20 69 6e 20 74 68 | re-open|ed in th|
|000029e0| 65 20 73 61 6d 65 20 70 | 6f 73 69 74 69 6f 6e 20 |e same p|osition |
|000029f0| 61 73 20 6c 61 73 74 20 | 74 69 6d 65 2e 0d 67 6c |as last |time..gl|
|00002a00| 6f 62 61 6c 20 6d 79 49 | 6e 66 6f 57 69 6e 64 6f |obal myI|nfoWindo|
|00002a10| 77 2c 20 6d 79 49 6e 66 | 6f 52 65 63 74 0d 70 75 |w, myInf|oRect.pu|
|00002a20| 74 20 74 68 65 20 67 6c | 6f 62 61 6c 52 65 63 74 |t the gl|obalRect|
|00002a30| 20 6f 66 20 77 69 6e 64 | 6f 77 20 6d 79 49 6e 66 | of wind|ow myInf|
|00002a40| 6f 57 69 6e 64 6f 77 20 | 69 6e 74 6f 20 6d 79 49 |oWindow |into myI|
|00002a50| 6e 66 6f 52 65 63 74 0d | 65 6e 64 20 73 61 76 65 |nfoRect.|end save|
|00002a60| 49 6e 66 6f 52 65 63 74 | 0d 0d 66 75 6e 63 74 69 |InfoRect|..functi|
|00002a70| 6f 6e 20 70 61 72 73 65 | 49 6e 66 6f 20 6e 6f 64 |on parse|Info nod|
|00002a80| 65 4e 75 6d 62 65 72 0d | 2d 2d 20 54 68 69 73 20 |eNumber.|-- This |
|00002a90| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00002aa0| 20 74 65 78 74 20 77 68 | 69 63 68 20 63 6f 72 72 | text wh|ich corr|
|00002ab0| 65 73 70 6f 6e 64 73 20 | 74 6f 20 61 20 6e 6f 64 |esponds |to a nod|
|00002ac0| 65 20 6e 75 6d 62 65 72 | 2e 0d 2d 2d 20 54 68 65 |e number|..-- The|
|00002ad0| 20 74 65 78 74 20 66 6f | 72 20 61 6c 6c 20 6e 6f | text fo|r all no|
|00002ae0| 64 65 73 20 69 73 20 69 | 6e 20 74 68 65 20 6d 65 |des is i|n the me|
|00002af0| 6d 6f 72 79 20 76 61 72 | 69 61 62 6c 65 20 6d 79 |mory var|iable my|
|00002b00| 4d 65 74 61 49 6e 66 6f | 2e 0d 2d 2d 20 54 68 65 |MetaInfo|..-- The|
|00002b10| 20 64 65 6c 69 6d 69 74 | 65 72 73 20 73 65 70 61 | delimit|ers sepa|
|00002b20| 72 61 74 69 6e 67 20 65 | 61 63 68 20 6e 6f 64 65 |rating e|ach node|
|00002b30| 27 73 20 74 65 78 74 20 | 69 73 20 74 68 65 20 77 |'s text |is the w|
|00002b40| 6f 72 64 20 22 65 6e 64 | 4e 6f 64 65 22 2e 0d 2d |ord "end|Node"..-|
|00002b50| 2d 0d 2d 2d 20 54 68 69 | 73 20 66 75 6e 63 74 69 |-.-- Thi|s functi|
|00002b60| 6f 6e 20 72 65 74 75 72 | 6e 73 20 61 6e 20 65 6d |on retur|ns an em|
|00002b70| 70 74 79 20 73 74 72 69 | 6e 67 20 69 66 20 74 68 |pty stri|ng if th|
|00002b80| 65 72 65 20 69 73 20 6e | 6f 20 69 6e 66 6f 72 6d |ere is n|o inform|
|00002b90| 61 74 69 6f 6e 0d 2d 2d | 20 66 6f 72 20 74 68 65 |ation.--| for the|
|00002ba0| 20 63 75 72 72 65 6e 74 | 20 6e 6f 64 65 2e 0d 0d | current| node...|
|00002bb0| 67 6c 6f 62 61 6c 20 6d | 79 4d 65 74 61 49 6e 66 |global m|yMetaInf|
|00002bc0| 6f 2c 20 6d 79 44 65 6c | 69 6d 0d 69 66 20 6e 6f |o, myDel|im.if no|
|00002bd0| 64 65 4e 75 6d 62 65 72 | 20 3d 20 30 20 74 68 65 |deNumber| = 0 the|
|00002be0| 6e 20 72 65 74 75 72 6e | 20 65 6d 70 74 79 0d 70 |n return| empty.p|
|00002bf0| 75 74 20 32 30 20 69 6e | 74 6f 20 69 6e 66 6f 4c |ut 20 in|to infoL|
|00002c00| 69 6d 69 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |imit.put| empty i|
|00002c10| 6e 74 6f 20 6d 79 49 6e | 66 6f 0d 70 75 74 20 6e |nto myIn|fo.put n|
|00002c20| 6f 64 65 4e 75 6d 62 65 | 72 20 2d 20 31 20 69 6e |odeNumbe|r - 1 in|
|00002c30| 74 6f 20 70 72 65 76 4e | 6f 64 65 0d 70 75 74 20 |to prevN|ode.put |
|00002c40| 30 20 69 6e 74 6f 20 78 | 0d 70 75 74 20 30 20 69 |0 into x|.put 0 i|
|00002c50| 6e 74 6f 20 74 61 72 67 | 65 74 4e 6f 64 65 0d 72 |nto targ|etNode.r|
|00002c60| 65 70 65 61 74 20 66 6f | 72 65 76 65 72 0d 70 75 |epeat fo|rever.pu|
|00002c70| 74 20 78 20 2b 20 31 20 | 69 6e 74 6f 20 78 0d 69 |t x + 1 |into x.i|
|00002c80| 66 20 28 6c 69 6e 65 20 | 78 20 6f 66 20 6d 79 4d |f (line |x of myM|
|00002c90| 65 74 61 49 6e 66 6f 29 | 20 3d 20 6d 79 44 65 6c |etaInfo)| = myDel|
|00002ca0| 69 6d 20 74 68 65 6e 0d | 69 66 20 74 61 72 67 65 |im then.|if targe|
|00002cb0| 74 4e 6f 64 65 20 3c 3e | 20 70 72 65 76 4e 6f 64 |tNode <>| prevNod|
|00002cc0| 65 20 74 68 65 6e 0d 70 | 75 74 20 74 61 72 67 65 |e then.p|ut targe|
|00002cd0| 74 4e 6f 64 65 20 2b 20 | 31 20 69 6e 74 6f 20 74 |tNode + |1 into t|
|00002ce0| 61 72 67 65 74 4e 6f 64 | 65 0d 65 6c 73 65 0d 72 |argetNod|e.else.r|
|00002cf0| 65 70 65 61 74 20 66 6f | 72 65 76 65 72 0d 70 75 |epeat fo|rever.pu|
|00002d00| 74 20 78 20 2b 20 31 20 | 69 6e 74 6f 20 78 0d 69 |t x + 1 |into x.i|
|00002d10| 66 20 6c 69 6e 65 20 78 | 20 6f 66 20 6d 79 4d 65 |f line x| of myMe|
|00002d20| 74 61 49 6e 66 6f 20 3c | 3e 20 6d 79 44 65 6c 69 |taInfo <|> myDeli|
|00002d30| 6d 20 74 68 65 6e 0d 70 | 75 74 20 6c 69 6e 65 20 |m then.p|ut line |
|00002d40| 78 20 6f 66 20 6d 79 4d | 65 74 61 49 6e 66 6f 20 |x of myM|etaInfo |
|00002d50| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 6d |& return| after m|
|00002d60| 79 49 6e 66 6f 0d 65 6c | 73 65 0d 65 78 69 74 20 |yInfo.el|se.exit |
|00002d70| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00002d80| 64 20 72 65 70 65 61 74 | 0d 65 78 69 74 20 72 65 |d repeat|.exit re|
|00002d90| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00002da0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |if.end r|epeat.re|
|00002db0| 74 75 72 6e 20 6d 79 49 | 6e 66 6f 0d 65 6e 64 20 |turn myI|nfo.end |
|00002dc0| 70 61 72 73 65 49 6e 66 | 6f 0d 0d 6f 6e 20 64 65 |parseInf|o..on de|
|00002dd0| 6c 65 74 65 4d 65 74 61 | 49 6e 66 6f 20 6e 6f 64 |leteMeta|Info nod|
|00002de0| 65 4e 75 6d 0d 2d 2d 20 | 44 65 6c 65 74 65 20 74 |eNum.-- |Delete t|
|00002df0| 68 65 20 6d 65 74 61 69 | 6e 66 6f 72 6d 61 74 69 |he metai|nformati|
|00002e00| 6f 6e 20 66 6f 72 20 61 | 20 6e 6f 64 65 2e 0d 2d |on for a| node..-|
|00002e10| 2d 20 4e 6f 74 65 20 74 | 68 61 74 20 77 65 20 6d |- Note t|hat we m|
|00002e20| 75 73 74 20 61 6c 73 6f | 20 64 65 6c 65 74 65 20 |ust also| delete |
|00002e30| 74 68 65 20 32 6e 64 20 | 64 65 6c 69 6d 69 74 65 |the 2nd |delimite|
|00002e40| 72 2e 0d 67 6c 6f 62 61 | 6c 20 6d 79 4d 65 74 61 |r..globa|l myMeta|
|00002e50| 49 6e 66 6f 2c 20 6d 79 | 44 65 6c 69 6d 0d 70 75 |Info, my|Delim.pu|
|00002e60| 74 20 31 20 69 6e 74 6f | 20 6c 69 6e 65 4e 75 6d |t 1 into| lineNum|
|00002e70| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 6d 79 4e 6f |.put 0 i|nto myNo|
|00002e80| 64 65 0d 72 65 70 65 61 | 74 20 66 6f 72 65 76 65 |de.repea|t foreve|
|00002e90| 72 0d 69 66 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |r.if lin|e lineNu|
|00002ea0| 6d 20 6f 66 20 6d 79 4d | 65 74 61 49 6e 66 6f 20 |m of myM|etaInfo |
|00002eb0| 3d 20 6d 79 44 65 6c 69 | 6d 20 74 68 65 6e 0d 70 |= myDeli|m then.p|
|00002ec0| 75 74 20 6d 79 4e 6f 64 | 65 20 2b 20 31 20 69 6e |ut myNod|e + 1 in|
|00002ed0| 74 6f 20 6d 79 4e 6f 64 | 65 0d 69 66 20 6d 79 4e |to myNod|e.if myN|
|00002ee0| 6f 64 65 20 3d 20 6e 6f | 64 65 4e 75 6d 20 74 68 |ode = no|deNum th|
|00002ef0| 65 6e 0d 70 75 74 20 6c | 69 6e 65 4e 75 6d 20 2b |en.put l|ineNum +|
|00002f00| 20 31 20 69 6e 74 6f 20 | 6c 69 6e 65 4e 75 6d 0d | 1 into |lineNum.|
|00002f10| 72 65 70 65 61 74 20 66 | 6f 72 65 76 65 72 0d 69 |repeat f|orever.i|
|00002f20| 66 20 6c 69 6e 65 20 6c | 69 6e 65 4e 75 6d 20 6f |f line l|ineNum o|
|00002f30| 66 20 6d 79 4d 65 74 61 | 49 6e 66 6f 20 3c 3e 20 |f myMeta|Info <> |
|00002f40| 6d 79 44 65 6c 69 6d 20 | 74 68 65 6e 0d 64 65 6c |myDelim |then.del|
|00002f50| 65 74 65 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d |ete line| lineNum|
|00002f60| 20 6f 66 20 6d 79 4d 65 | 74 61 49 6e 66 6f 0d 65 | of myMe|taInfo.e|
|00002f70| 6c 73 65 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |lse.exit| repeat.|
|00002f80| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00002f90| 74 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 6c 69 |t.delete| line li|
|00002fa0| 6e 65 4e 75 6d 20 6f 66 | 20 6d 79 4d 65 74 61 49 |neNum of| myMetaI|
|00002fb0| 6e 66 6f 20 20 2d 2d 20 | 64 65 6c 65 74 65 20 74 |nfo -- |delete t|
|00002fc0| 68 65 20 32 6e 64 20 64 | 65 6c 69 6d 69 74 65 72 |he 2nd d|elimiter|
|00002fd0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00002fe0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 6c | if.end |if.put l|
|00002ff0| 69 6e 65 4e 75 6d 20 2b | 20 31 20 69 6e 74 6f 20 |ineNum +| 1 into |
|00003000| 6c 69 6e 65 4e 75 6d 0d | 65 6e 64 20 72 65 70 65 |lineNum.|end repe|
|00003010| 61 74 0d 65 6e 64 20 64 | 65 6c 65 74 65 4d 65 74 |at.end d|eleteMet|
|00003020| 61 49 6e 66 6f 0d 0d 6f | 6e 20 6e 65 78 74 50 61 |aInfo..o|n nextPa|
|00003030| 74 68 0d 2d 2d 20 74 68 | 69 73 20 74 61 6b 65 73 |th.-- th|is takes|
|00003040| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 74 68 65 | the use|r to the|
|00003050| 20 6e 65 78 74 20 6e 6f | 64 65 20 69 6e 20 74 68 | next no|de in th|
|00003060| 65 20 70 61 74 68 0d 2d | 2d 20 69 66 20 74 68 65 |e path.-|- if the|
|00003070| 20 75 73 65 72 20 69 73 | 20 61 74 20 74 68 65 20 | user is| at the |
|00003080| 6c 61 73 74 20 6e 6f 64 | 65 20 74 68 65 6e 20 64 |last nod|e then d|
|00003090| 69 73 70 6c 61 79 20 61 | 20 6d 65 73 73 61 67 65 |isplay a| message|
|000030a0| 0d 2d 2d 20 61 64 64 20 | 74 68 65 20 70 72 65 76 |.-- add |the prev|
|000030b0| 69 6f 75 73 20 6e 6f 64 | 65 20 74 6f 20 74 68 65 |ious nod|e to the|
|000030c0| 20 68 69 73 74 6f 72 79 | 20 6c 69 73 74 0d 0d 2d | history| list..-|
|000030d0| 2d 20 6d 79 50 61 74 68 | 20 63 6f 6e 74 61 69 6e |- myPath| contain|
|000030e0| 73 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |s the co|ntents o|
|000030f0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 50 61 |f the cu|rrent Pa|
|00003100| 74 68 0d 2d 2d 20 6d 79 | 48 69 73 74 6f 72 79 20 |th.-- my|History |
|00003110| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 63 75 72 |contains| the cur|
|00003120| 72 65 6e 74 20 75 73 65 | 72 27 73 20 68 69 73 74 |rent use|r's hist|
|00003130| 6f 72 79 0d 2d 2d 20 63 | 75 72 72 4e 6f 64 65 4e |ory.-- c|urrNodeN|
|00003140| 75 6d 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |um conta|ins the |
|00003150| 6c 69 6e 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |line num|ber of t|
|00003160| 68 65 20 63 75 72 72 65 | 6e 74 20 4e 6f 64 65 0d |he curre|nt Node.|
|00003170| 2d 2d 20 73 74 61 72 74 | 54 69 63 6b 73 20 63 6f |-- start|Ticks co|
|00003180| 6e 74 61 69 6e 73 20 74 | 68 65 20 73 74 61 72 74 |ntains t|he start|
|00003190| 20 74 69 6d 65 20 74 68 | 61 74 20 74 68 69 73 20 | time th|at this |
|000031a0| 6e 6f 64 65 20 77 61 73 | 20 62 65 67 75 6e 0d 0d |node was| begun..|
|000031b0| 67 6c 6f 62 61 6c 20 63 | 75 72 72 4e 6f 64 65 4e |global c|urrNodeN|
|000031c0| 75 6d 2c 20 6d 79 50 61 | 74 68 2c 20 73 74 61 72 |um, myPa|th, star|
|000031d0| 74 54 69 63 6b 73 0d 6c | 6f 63 6b 20 73 63 72 65 |tTicks.l|ock scre|
|000031e0| 65 6e 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |en.set l|ockMessa|
|000031f0| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |ges to t|rue.put |
|00003200| 22 76 69 73 75 61 6c 20 | 65 66 66 65 63 74 20 77 |"visual |effect w|
|00003210| 69 70 65 20 6c 65 66 74 | 22 20 69 6e 74 6f 20 76 |ipe left|" into v|
|00003220| 69 73 75 61 6c 45 66 66 | 65 63 74 0d 69 66 20 6d |isualEff|ect.if m|
|00003230| 79 50 61 74 68 20 69 73 | 20 65 6d 70 74 79 20 74 |yPath is| empty t|
|00003240| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 4e 6f 20 70 |hen.answ|er "No p|
|00003250| 61 74 68 20 69 73 20 6f | 70 65 6e 20 6f 72 20 74 |ath is o|pen or t|
|00003260| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 6e 6f 64 65 |here are| no node|
|00003270| 73 20 69 6e 20 74 68 65 | 20 70 61 74 68 2e 22 0d |s in the| path.".|
|00003280| 65 78 69 74 20 6e 65 78 | 74 50 61 74 68 0d 65 6e |exit nex|tPath.en|
|00003290| 64 20 69 66 0d 69 66 20 | 63 75 72 72 4e 6f 64 65 |d if.if |currNode|
|000032a0| 4e 75 6d 20 3e 20 30 20 | 74 68 65 6e 0d 2d 2d 20 |Num > 0 |then.-- |
|000032b0| 75 70 64 61 74 65 20 68 | 69 73 74 6f 72 79 20 6c |update h|istory l|
|000032c0| 69 73 74 0d 41 64 64 48 | 69 73 74 6f 72 79 20 28 |ist.AddH|istory (|
|000032d0| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|000032e0| 74 68 69 73 20 63 64 29 | 2c 20 28 74 68 65 20 73 |this cd)|, (the s|
|000032f0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00003300| 73 20 73 74 61 63 6b 29 | 0d 65 6e 64 20 69 66 0d |s stack)|.end if.|
|00003310| 69 66 20 63 75 72 72 4e | 6f 64 65 4e 75 6d 20 3d |if currN|odeNum =|
|00003320| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00003330| 69 6e 65 73 20 69 6e 20 | 6d 79 50 61 74 68 20 74 |ines in |myPath t|
|00003340| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 45 6e 64 20 |hen.answ|er "End |
|00003350| 6f 66 20 70 61 74 68 20 | 72 65 61 63 68 65 64 2e |of path |reached.|
|00003360| 22 20 77 69 74 68 20 22 | 4f 6b 22 0d 65 6c 73 65 |" with "|Ok".else|
|00003370| 0d 2d 2d 20 6e 6f 77 20 | 67 6f 20 74 6f 20 6e 65 |.-- now |go to ne|
|00003380| 78 74 20 6e 6f 64 65 0d | 70 75 74 20 63 75 72 72 |xt node.|put curr|
|00003390| 4e 6f 64 65 4e 75 6d 20 | 2b 20 31 20 69 6e 74 6f |NodeNum |+ 1 into|
|000033a0| 20 63 75 72 72 4e 6f 64 | 65 4e 75 6d 20 20 2d 2d | currNod|eNum --|
|000033b0| 20 69 6e 63 72 65 6d 65 | 6e 74 73 20 70 61 74 68 | increme|nts path|
|000033c0| 20 6e 6f 64 65 20 63 6f | 75 6e 74 65 72 0d 67 6f | node co|unter.go|
|000033d0| 54 6f 4e 6f 64 65 20 63 | 75 72 72 4e 6f 64 65 4e |ToNode c|urrNodeN|
|000033e0| 75 6d 0d 75 70 64 61 74 | 65 49 6e 66 6f 20 63 75 |um.updat|eInfo cu|
|000033f0| 72 72 4e 6f 64 65 4e 75 | 6d 2c 20 63 75 72 72 4e |rrNodeNu|m, currN|
|00003400| 6f 64 65 4e 75 6d 20 2d | 31 0d 65 6e 64 20 69 66 |odeNum -|1.end if|
|00003410| 0d 70 75 74 20 74 68 65 | 20 74 69 63 6b 73 20 69 |.put the| ticks i|
|00003420| 6e 74 6f 20 73 74 61 72 | 74 54 69 63 6b 73 0d 75 |nto star|tTicks.u|
|00003430| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00003440| 68 20 76 69 73 75 61 6c | 45 66 66 65 63 74 0d 65 |h visual|Effect.e|
|00003450| 6e 64 20 6e 65 78 74 50 | 61 74 68 0d 0d 6f 6e 20 |nd nextP|ath..on |
|00003460| 70 72 65 76 50 61 74 68 | 0d 2d 2d 20 54 68 69 73 |prevPath|.-- This|
|00003470| 20 74 61 6b 65 73 20 74 | 68 65 20 75 73 65 72 20 | takes t|he user |
|00003480| 74 6f 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |to the p|revious |
|00003490| 6e 6f 64 65 20 69 6e 20 | 74 68 65 20 70 61 74 68 |node in |the path|
|000034a0| 2e 0d 2d 2d 20 49 66 20 | 74 68 65 20 75 73 65 72 |..-- If |the user|
|000034b0| 20 69 73 20 61 74 20 74 | 68 65 20 66 69 72 73 74 | is at t|he first|
|000034c0| 20 6e 6f 64 65 20 74 68 | 65 6e 20 64 69 73 70 6c | node th|en displ|
|000034d0| 61 79 20 61 20 6d 65 73 | 73 61 67 65 2e 0d 2d 2d |ay a mes|sage..--|
|000034e0| 20 41 64 64 20 74 68 65 | 20 70 72 65 76 69 6f 75 | Add the| previou|
|000034f0| 73 20 6e 6f 64 65 20 74 | 6f 20 74 68 65 20 68 69 |s node t|o the hi|
|00003500| 73 74 6f 72 79 20 6c 69 | 73 74 0d 0d 2d 2d 20 6d |story li|st..-- m|
|00003510| 79 50 61 74 68 20 63 6f | 6e 74 61 69 6e 73 20 74 |yPath co|ntains t|
|00003520| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00003530| 68 65 20 63 75 72 72 65 | 6e 74 20 50 61 74 68 0d |he curre|nt Path.|
|00003540| 2d 2d 20 6d 79 48 69 73 | 74 6f 72 79 20 63 6f 6e |-- myHis|tory con|
|00003550| 74 61 69 6e 73 20 74 68 | 65 20 63 75 72 72 65 6e |tains th|e curren|
|00003560| 74 20 75 73 65 72 27 73 | 20 68 69 73 74 6f 72 79 |t user's| history|
|00003570| 0d 2d 2d 20 63 75 72 72 | 4e 6f 64 65 4e 75 6d 20 |.-- curr|NodeNum |
|00003580| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 6c 69 6e |contains| the lin|
|00003590| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |e number| of the |
|000035a0| 63 75 72 72 65 6e 74 20 | 4e 6f 64 65 0d 2d 2d 20 |current |Node.-- |
|000035b0| 73 74 61 72 74 54 69 63 | 6b 73 20 63 6f 6e 74 61 |startTic|ks conta|
|000035c0| 69 6e 73 20 74 68 65 20 | 73 74 61 72 74 20 74 69 |ins the |start ti|
|000035d0| 6d 65 20 74 68 61 74 20 | 74 68 69 73 20 6e 6f 64 |me that |this nod|
|000035e0| 65 20 77 61 73 20 62 65 | 67 75 6e 0d 0d 67 6c 6f |e was be|gun..glo|
|000035f0| 62 61 6c 20 63 75 72 72 | 4e 6f 64 65 4e 75 6d 2c |bal curr|NodeNum,|
|00003600| 20 73 74 61 72 74 54 69 | 63 6b 73 2c 20 6d 79 50 | startTi|cks, myP|
|00003610| 61 74 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ath.lock| screen.|
|00003620| 69 66 20 6d 79 50 61 74 | 68 20 69 73 20 65 6d 70 |if myPat|h is emp|
|00003630| 74 79 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |ty then.|answer "|
|00003640| 4e 6f 20 70 61 74 68 20 | 69 73 20 6f 70 65 6e 20 |No path |is open |
|00003650| 6f 72 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |or there| are no |
|00003660| 6e 6f 64 65 73 20 69 6e | 20 74 68 65 20 70 61 74 |nodes in| the pat|
|00003670| 68 2e 22 0d 65 78 69 74 | 20 70 72 65 76 50 61 74 |h.".exit| prevPat|
|00003680| 68 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 6c 6f 63 |h.end if|.set loc|
|00003690| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kMessage|s to tru|
|000036a0| 65 0d 70 75 74 20 22 76 | 69 73 75 61 6c 20 65 66 |e.put "v|isual ef|
|000036b0| 66 65 63 74 20 77 69 70 | 65 20 72 69 67 68 74 22 |fect wip|e right"|
|000036c0| 20 69 6e 74 6f 20 76 69 | 73 75 61 6c 45 66 66 65 | into vi|sualEffe|
|000036d0| 63 74 0d 0d 69 66 20 63 | 75 72 72 4e 6f 64 65 4e |ct..if c|urrNodeN|
|000036e0| 75 6d 20 3e 20 30 20 74 | 68 65 6e 0d 2d 2d 20 75 |um > 0 t|hen.-- u|
|000036f0| 70 64 61 74 65 20 68 69 | 73 74 6f 72 79 20 6c 69 |pdate hi|story li|
|00003700| 73 74 0d 41 64 64 48 69 | 73 74 6f 72 79 20 28 74 |st.AddHi|story (t|
|00003710| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 74 |he short| id of t|
|00003720| 68 69 73 20 63 64 29 2c | 20 28 74 68 65 20 73 68 |his cd),| (the sh|
|00003730| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00003740| 20 73 74 61 63 6b 29 0d | 65 6e 64 20 69 66 0d 69 | stack).|end if.i|
|00003750| 66 20 63 75 72 72 4e 6f | 64 65 4e 75 6d 20 3e 20 |f currNo|deNum > |
|00003760| 31 20 74 68 65 6e 0d 2d | 2d 20 6e 6f 77 20 67 6f |1 then.-|- now go|
|00003770| 20 74 6f 20 70 72 65 76 | 20 6e 6f 64 65 0d 70 75 | to prev| node.pu|
|00003780| 74 20 63 75 72 72 4e 6f | 64 65 4e 75 6d 20 2d 20 |t currNo|deNum - |
|00003790| 31 20 69 6e 74 6f 20 63 | 75 72 72 4e 6f 64 65 4e |1 into c|urrNodeN|
|000037a0| 75 6d 20 20 2d 2d 20 69 | 6e 63 72 65 6d 65 6e 74 |um -- i|ncrement|
|000037b0| 73 20 70 61 74 68 20 6e | 6f 64 65 20 63 6f 75 6e |s path n|ode coun|
|000037c0| 74 65 72 0d 67 6f 54 6f | 4e 6f 64 65 20 63 75 72 |ter.goTo|Node cur|
|000037d0| 72 4e 6f 64 65 4e 75 6d | 0d 75 70 64 61 74 65 49 |rNodeNum|.updateI|
|000037e0| 6e 66 6f 20 63 75 72 72 | 4e 6f 64 65 4e 75 6d 2c |nfo curr|NodeNum,|
|000037f0| 20 63 75 72 72 4e 6f 64 | 65 4e 75 6d 20 2b 31 0d | currNod|eNum +1.|
|00003800| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 41 6c 72 |else.ans|wer "Alr|
|00003810| 65 61 64 79 20 61 74 20 | 74 68 65 20 62 65 67 69 |eady at |the begi|
|00003820| 6e 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 70 61 74 |nning of| the pat|
|00003830| 68 2e 22 20 77 69 74 68 | 20 22 4f 6b 22 0d 65 6e |h." with| "Ok".en|
|00003840| 64 20 69 66 0d 70 75 74 | 20 74 68 65 20 74 69 63 |d if.put| the tic|
|00003850| 6b 73 20 69 6e 74 6f 20 | 73 74 61 72 74 54 69 63 |ks into |startTic|
|00003860| 6b 73 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ks.unloc|k screen|
|00003870| 20 77 69 74 68 20 76 69 | 73 75 61 6c 45 66 66 65 | with vi|sualEffe|
|00003880| 63 74 0d 65 6e 64 20 70 | 72 65 76 50 61 74 68 0d |ct.end p|revPath.|
|00003890| 0d 0d 6f 6e 20 6c 61 73 | 74 50 61 74 68 0d 2d 2d |..on las|tPath.--|
|000038a0| 20 4a 75 6d 70 20 62 61 | 63 6b 20 74 6f 20 74 68 | Jump ba|ck to th|
|000038b0| 65 20 63 75 72 72 65 6e | 74 20 6e 6f 64 65 20 69 |e curren|t node i|
|000038c0| 6e 20 74 68 65 20 70 61 | 74 68 2e 0d 2d 2d 20 54 |n the pa|th..-- T|
|000038d0| 68 69 73 20 73 68 6f 75 | 6c 64 20 62 65 20 75 73 |his shou|ld be us|
|000038e0| 65 64 20 77 68 65 6e 20 | 61 20 75 73 65 72 20 68 |ed when |a user h|
|000038f0| 61 73 20 6d 61 64 65 20 | 61 20 64 69 76 65 72 73 |as made |a divers|
|00003900| 69 6f 6e 20 61 6e 64 20 | 77 61 6e 74 73 0d 2d 2d |ion and |wants.--|
|00003910| 20 74 6f 20 67 65 74 20 | 62 61 63 6b 20 74 6f 20 | to get |back to |
|00003920| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6e 6f 64 65 |the curr|ent node|
|00003930| 20 64 69 72 65 63 74 6c | 79 2e 0d 67 6c 6f 62 61 | directl|y..globa|
|00003940| 6c 20 63 75 72 72 4e 6f | 64 65 4e 75 6d 2c 20 6d |l currNo|deNum, m|
|00003950| 79 50 61 74 68 0d 6c 6f | 63 6b 20 73 63 72 65 65 |yPath.lo|ck scree|
|00003960| 6e 0d 69 66 20 6d 79 50 | 61 74 68 20 69 73 20 65 |n.if myP|ath is e|
|00003970| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|00003980| 20 22 4e 6f 20 70 61 74 | 68 20 69 73 20 6f 70 65 | "No pat|h is ope|
|00003990| 6e 20 6f 72 20 74 68 65 | 72 65 20 61 72 65 20 6e |n or the|re are n|
|000039a0| 6f 20 6e 6f 64 65 73 20 | 69 6e 20 74 68 65 20 70 |o nodes |in the p|
|000039b0| 61 74 68 2e 22 0d 65 78 | 69 74 20 6c 61 73 74 50 |ath.".ex|it lastP|
|000039c0| 61 74 68 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 6c |ath.end |if.set l|
|000039d0| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|000039e0| 72 75 65 0d 70 75 74 20 | 22 76 69 73 75 61 6c 20 |rue.put |"visual |
|000039f0| 65 66 66 65 63 74 20 69 | 72 69 73 20 63 6c 6f 73 |effect i|ris clos|
|00003a00| 65 22 20 69 6e 74 6f 20 | 76 69 73 75 61 6c 45 66 |e" into |visualEf|
|00003a10| 66 65 63 74 0d 41 64 64 | 48 69 73 74 6f 72 79 20 |fect.Add|History |
|00003a20| 28 74 68 65 20 73 68 6f | 72 74 20 69 64 20 6f 66 |(the sho|rt id of|
|00003a30| 20 74 68 69 73 20 63 64 | 29 2c 20 28 74 68 65 20 | this cd|), (the |
|00003a40| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00003a50| 69 73 20 73 74 61 63 6b | 29 0d 67 6f 54 6f 4e 6f |is stack|).goToNo|
|00003a60| 64 65 20 63 75 72 72 4e | 6f 64 65 4e 75 6d 0d 75 |de currN|odeNum.u|
|00003a70| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00003a80| 68 20 76 69 73 75 61 6c | 45 66 66 65 63 74 0d 65 |h visual|Effect.e|
|00003a90| 6e 64 20 6c 61 73 74 50 | 61 74 68 0d 0d 6f 6e 20 |nd lastP|ath..on |
|00003aa0| 64 65 6c 65 74 65 50 61 | 74 68 0d 2d 2d 20 44 65 |deletePa|th.-- De|
|00003ab0| 6c 65 74 65 20 61 20 6e | 6f 64 65 20 66 72 6f 6d |lete a n|ode from|
|00003ac0| 20 74 68 65 20 70 61 74 | 68 2e 0d 2d 2d 20 47 6f | the pat|h..-- Go|
|00003ad0| 20 74 6f 20 74 68 65 20 | 6e 6f 64 65 20 74 6f 20 | to the |node to |
|00003ae0| 62 65 20 64 65 6c 65 74 | 65 64 20 61 6e 64 20 63 |be delet|ed and c|
|00003af0| 6f 6e 66 69 72 6d 20 64 | 65 6c 65 74 69 6f 6e 20 |onfirm d|eletion |
|00003b00| 66 69 72 73 74 2e 0d 2d | 2d 20 49 66 20 63 6f 6e |first..-|- If con|
|00003b10| 66 69 72 6d 65 64 20 74 | 68 65 6e 0d 2d 2d 20 20 |firmed t|hen.-- |
|00003b20| 20 20 64 65 6c 65 74 65 | 20 74 68 69 73 20 6e 6f | delete| this no|
|00003b30| 64 65 20 66 72 6f 6d 20 | 74 68 65 20 70 61 74 68 |de from |the path|
|00003b40| 0d 2d 2d 20 20 20 20 64 | 6f 20 61 73 73 6f 63 69 |.-- d|o associ|
|00003b50| 61 74 65 64 20 64 65 74 | 61 69 6c 73 20 73 75 63 |ated det|ails suc|
|00003b60| 68 20 61 73 20 64 65 63 | 72 65 6d 65 6e 74 69 6e |h as dec|rementin|
|00003b70| 67 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6e 6f |g the cu|rrent no|
|00003b80| 64 65 20 6e 75 6d 62 65 | 72 0d 2d 2d 20 20 20 20 |de numbe|r.-- |
|00003b90| 74 68 65 6e 20 67 6f 20 | 74 6f 20 74 68 65 20 6e |then go |to the n|
|00003ba0| 6f 64 65 20 61 66 74 65 | 72 20 28 6f 72 20 62 65 |ode afte|r (or be|
|00003bb0| 66 6f 72 65 2c 20 69 66 | 20 61 74 20 6c 61 73 74 |fore, if| at last|
|00003bc0| 20 6e 6f 64 65 29 20 74 | 68 65 20 64 65 6c 65 74 | node) t|he delet|
|00003bd0| 65 64 20 6e 6f 64 65 0d | 67 6c 6f 62 61 6c 20 63 |ed node.|global c|
|00003be0| 75 72 72 4e 6f 64 65 4e | 75 6d 2c 20 6d 79 50 61 |urrNodeN|um, myPa|
|00003bf0| 74 68 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 69 |th.lock |screen.i|
|00003c00| 66 20 6d 79 50 61 74 68 | 20 69 73 20 65 6d 70 74 |f myPath| is empt|
|00003c10| 79 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 4e |y then.a|nswer "N|
|00003c20| 6f 20 70 61 74 68 20 69 | 73 20 6f 70 65 6e 20 6f |o path i|s open o|
|00003c30| 72 20 74 68 65 72 65 20 | 61 72 65 20 6e 6f 20 6e |r there |are no n|
|00003c40| 6f 64 65 73 20 69 6e 20 | 74 68 65 20 70 61 74 68 |odes in |the path|
|00003c50| 2e 22 0d 65 78 69 74 20 | 64 65 6c 65 74 65 50 61 |.".exit |deletePa|
|00003c60| 74 68 0d 65 6e 64 20 69 | 66 0d 73 65 74 20 6c 6f |th.end i|f.set lo|
|00003c70| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|00003c80| 75 65 0d 67 6f 54 6f 4e | 6f 64 65 20 63 75 72 72 |ue.goToN|ode curr|
|00003c90| 4e 6f 64 65 4e 75 6d 0d | 75 6e 6c 6f 63 6b 20 73 |NodeNum.|unlock s|
|00003ca0| 63 72 65 65 6e 20 20 20 | 20 20 20 20 20 20 20 2d |creen | -|
|00003cb0| 2d 20 74 6f 20 75 70 64 | 61 74 65 20 74 68 65 20 |- to upd|ate the |
|00003cc0| 73 63 72 65 65 6e 20 66 | 6f 72 20 74 68 65 20 75 |screen f|or the u|
|00003cd0| 73 65 72 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ser.lock| screen.|
|00003ce0| 61 6e 73 77 65 72 20 22 | 41 72 65 20 79 6f 75 20 |answer "|Are you |
|00003cf0| 73 75 72 65 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |sure you| want to|
|00003d00| 20 64 65 6c 65 74 65 20 | 74 68 65 20 63 75 72 72 | delete |the curr|
|00003d10| 65 6e 74 20 6e 6f 64 65 | 3f 22 20 c2 0d 77 69 74 |ent node|?" ..wit|
|00003d20| 68 20 22 43 61 6e 63 65 | 6c 22 2c 20 22 44 65 6c |h "Cance|l", "Del|
|00003d30| 65 74 65 22 0d 69 66 20 | 69 74 20 69 73 20 22 43 |ete".if |it is "C|
|00003d40| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00003d50| 20 64 65 6c 65 74 65 50 | 61 74 68 0d 69 66 20 69 | deleteP|ath.if i|
|00003d60| 74 20 69 73 20 22 44 65 | 6c 65 74 65 22 20 74 68 |t is "De|lete" th|
|00003d70| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 63 |en.delet|e line c|
|00003d80| 75 72 72 4e 6f 64 65 4e | 75 6d 20 6f 66 20 6d 79 |urrNodeN|um of my|
|00003d90| 50 61 74 68 0d 64 65 6c | 65 74 65 4d 65 74 61 49 |Path.del|eteMetaI|
|00003da0| 6e 66 6f 20 63 75 72 72 | 4e 6f 64 65 4e 75 6d 0d |nfo curr|NodeNum.|
|00003db0| 2d 2d 20 63 68 65 63 6b | 20 69 66 20 74 68 65 20 |-- check| if the |
|00003dc0| 6e 6f 64 65 20 77 65 20 | 64 65 6c 65 74 65 64 20 |node we |deleted |
|00003dd0| 77 61 73 20 74 68 65 20 | 6c 61 73 74 20 6e 6f 64 |was the |last nod|
|00003de0| 65 2e 0d 2d 2d 20 69 66 | 20 69 74 20 77 61 73 20 |e..-- if| it was |
|00003df0| 74 68 65 6e 20 67 6f 20 | 74 6f 20 74 68 65 20 70 |then go |to the p|
|00003e00| 72 65 76 69 6f 75 73 20 | 6e 6f 64 65 0d 69 66 20 |revious |node.if |
|00003e10| 63 75 72 72 4e 6f 64 65 | 4e 75 6d 20 3e 20 74 68 |currNode|Num > th|
|00003e20| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00003e30| 73 20 69 6e 20 6d 79 50 | 61 74 68 20 74 68 65 6e |s in myP|ath then|
|00003e40| 0d 70 75 74 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |.put cur|rNodeNum|
|00003e50| 20 2d 20 31 20 69 6e 74 | 6f 20 63 75 72 72 4e 6f | - 1 int|o currNo|
|00003e60| 64 65 4e 75 6d 0d 65 6e | 64 20 69 66 0d 67 6f 54 |deNum.en|d if.goT|
|00003e70| 6f 4e 6f 64 65 20 63 75 | 72 72 4e 6f 64 65 4e 75 |oNode cu|rrNodeNu|
|00003e80| 6d 20 20 20 20 20 20 20 | 20 20 2d 2d 20 74 68 69 |m | -- thi|
|00003e90| 73 20 77 69 6c 6c 20 74 | 61 6b 65 20 74 68 65 20 |s will t|ake the |
|00003ea0| 75 73 65 72 20 74 6f 20 | 74 68 65 20 6e 65 78 74 |user to |the next|
|00003eb0| 0d 2d 2d 20 6e 6f 64 65 | 20 69 6e 20 74 68 65 20 |.-- node| in the |
|00003ec0| 70 61 74 68 20 6f 72 20 | 74 68 65 20 70 72 65 76 |path or |the prev|
|00003ed0| 69 6f 75 73 20 6f 6e 65 | 20 69 66 20 74 68 65 20 |ious one| if the |
|00003ee0| 6c 61 73 74 20 6e 6f 64 | 65 20 77 61 73 20 64 65 |last nod|e was de|
|00003ef0| 6c 65 74 65 64 0d 65 6e | 64 20 64 65 6c 65 74 65 |leted.en|d delete|
|00003f00| 50 61 74 68 0d 0d 0d 6f | 6e 20 41 64 64 50 61 74 |Path...o|n AddPat|
|00003f10| 68 0d 2d 2d 20 54 68 69 | 73 20 61 64 64 73 20 61 |h.-- Thi|s adds a|
|00003f20| 20 6e 65 77 20 6e 6f 64 | 65 20 74 6f 20 74 68 65 | new nod|e to the|
|00003f30| 20 63 75 72 72 65 6e 74 | 20 50 61 74 68 2e 0d 2d | current| Path..-|
|00003f40| 2d 20 41 64 64 20 74 68 | 65 20 70 72 65 76 69 6f |- Add th|e previo|
|00003f50| 75 73 20 6e 6f 64 65 20 | 74 6f 20 74 68 65 20 68 |us node |to the h|
|00003f60| 69 73 74 6f 72 79 20 6c | 69 73 74 2e 0d 0d 2d 2d |istory l|ist...--|
|00003f70| 20 57 65 20 6d 69 67 68 | 74 20 77 61 6e 74 20 74 | We migh|t want t|
|00003f80| 6f 20 73 65 61 72 63 68 | 20 74 68 65 20 70 61 74 |o search| the pat|
|00003f90| 68 20 73 74 72 75 63 74 | 75 72 65 20 74 6f 20 73 |h struct|ure to s|
|00003fa0| 65 65 20 69 66 20 74 68 | 65 20 63 75 72 72 65 6e |ee if th|e curren|
|00003fb0| 74 0d 2d 2d 20 6e 6f 64 | 65 20 69 73 20 69 6e 20 |t.-- nod|e is in |
|00003fc0| 74 68 65 20 70 61 74 68 | 20 61 6c 72 65 61 64 79 |the path| already|
|00003fd0| 20 2d 20 61 6c 74 68 6f | 75 67 68 20 6e 6f 74 20 | - altho|ugh not |
|00003fe0| 72 65 61 6c 6c 79 20 6e | 65 63 65 73 73 61 72 79 |really n|ecessary|
|00003ff0| 0d 2d 2d 20 61 73 20 77 | 65 20 6d 69 67 68 74 20 |.-- as w|e might |
|00004000| 77 61 6e 74 20 74 6f 20 | 76 69 73 69 74 20 74 68 |want to |visit th|
|00004010| 65 20 73 61 6d 65 20 6e | 6f 64 65 20 74 77 69 63 |e same n|ode twic|
|00004020| 65 2e 0d 0d 2d 2d 20 20 | 20 20 6d 79 50 61 74 68 |e...-- | myPath|
|00004030| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 63 6f | contain|s the co|
|00004040| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 65 20 63 75 |ntents o|f the cu|
|00004050| 72 72 65 6e 74 20 50 61 | 74 68 0d 2d 2d 20 20 20 |rrent Pa|th.-- |
|00004060| 20 6d 79 48 69 73 74 6f | 72 79 20 63 6f 6e 74 61 | myHisto|ry conta|
|00004070| 69 6e 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ins the |current |
|00004080| 75 73 65 72 27 73 20 68 | 69 73 74 6f 72 79 0d 2d |user's h|istory.-|
|00004090| 2d 20 20 20 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |- cur|rNodeNum|
|000040a0| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 6c 69 | contain|s the li|
|000040b0| 6e 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |ne numbe|r of the|
|000040c0| 20 63 75 72 72 65 6e 74 | 20 4e 6f 64 65 0d 2d 2d | current| Node.--|
|000040d0| 20 20 20 20 73 74 61 72 | 74 54 69 63 6b 73 20 63 | star|tTicks c|
|000040e0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 73 74 61 72 |ontains |the star|
|000040f0| 74 20 74 69 6d 65 20 74 | 68 61 74 20 74 68 69 73 |t time t|hat this|
|00004100| 20 6e 6f 64 65 20 77 61 | 73 20 62 65 67 75 6e 0d | node wa|s begun.|
|00004110| 0d 67 6c 6f 62 61 6c 20 | 6d 79 50 61 74 68 2c 20 |.global |myPath, |
|00004120| 6d 79 48 69 73 74 6f 72 | 79 2c 20 63 75 72 72 4e |myHistor|y, currN|
|00004130| 6f 64 65 4e 75 6d 2c 20 | 73 74 61 72 74 54 69 63 |odeNum, |startTic|
|00004140| 6b 73 2c 20 6d 79 44 65 | 6c 69 6d 2c 20 6d 79 49 |ks, myDe|lim, myI|
|00004150| 6e 66 6f 57 69 6e 64 6f | 77 0d 69 66 20 74 68 65 |nfoWindo|w.if the|
|00004160| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 6d |re is a |window m|
|00004170| 79 49 6e 66 6f 57 69 6e | 64 6f 77 20 74 68 65 6e |yInfoWin|dow then|
|00004180| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 6d 79 | close w|indow my|
|00004190| 49 6e 66 6f 57 69 6e 64 | 6f 77 0d 70 75 74 20 74 |InfoWind|ow.put t|
|000041a0| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 74 |he short| id of t|
|000041b0| 68 69 73 20 63 61 72 64 | 20 69 6e 74 6f 20 6d 79 |his card| into my|
|000041c0| 43 61 72 64 0d 70 75 74 | 20 74 68 65 20 73 68 6f |Card.put| the sho|
|000041d0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|000041e0| 73 74 61 63 6b 20 69 6e | 74 6f 20 6d 79 53 74 61 |stack in|to mySta|
|000041f0| 63 6b 0d 69 66 20 63 75 | 72 72 4e 6f 64 65 4e 75 |ck.if cu|rrNodeNu|
|00004200| 6d 20 3d 20 30 20 74 68 | 65 6e 0d 70 75 74 20 6d |m = 0 th|en.put m|
|00004210| 79 43 61 72 64 20 26 20 | 22 2c 22 20 26 20 6d 79 |yCard & |"," & my|
|00004220| 53 74 61 63 6b 20 26 20 | 72 65 74 75 72 6e 20 69 |Stack & |return i|
|00004230| 6e 74 6f 20 6d 79 50 61 | 74 68 0d 70 75 74 20 6d |nto myPa|th.put m|
|00004240| 79 44 65 6c 69 6d 20 69 | 6e 74 6f 20 6d 79 4d 65 |yDelim i|nto myMe|
|00004250| 74 61 49 6e 66 6f 0d 65 | 6c 73 65 0d 69 66 20 63 |taInfo.e|lse.if c|
|00004260| 75 72 72 4e 6f 64 65 4e | 75 6d 20 3e 3d 20 74 68 |urrNodeN|um >= th|
|00004270| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00004280| 73 20 69 6e 20 6d 79 50 | 61 74 68 20 74 68 65 6e |s in myP|ath then|
|00004290| 0d 70 75 74 20 6d 79 43 | 61 72 64 20 26 20 22 2c |.put myC|ard & ",|
|000042a0| 22 20 26 20 6d 79 53 74 | 61 63 6b 20 26 20 72 65 |" & mySt|ack & re|
|000042b0| 74 75 72 6e 20 61 66 74 | 65 72 20 6d 79 50 61 74 |turn aft|er myPat|
|000042c0| 68 0d 65 6c 73 65 0d 2d | 2d 20 69 6e 73 65 72 74 |h.else.-|- insert|
|000042d0| 20 6e 6f 64 65 0d 70 75 | 74 20 72 65 74 75 72 6e | node.pu|t return|
|000042e0| 20 26 20 6d 79 43 61 72 | 64 20 26 20 22 2c 22 20 | & myCar|d & "," |
|000042f0| 26 20 6d 79 53 74 61 63 | 6b 20 61 66 74 65 72 20 |& myStac|k after |
|00004300| 6c 69 6e 65 20 63 75 72 | 72 4e 6f 64 65 4e 75 6d |line cur|rNodeNum|
|00004310| 20 6f 66 20 6d 79 50 61 | 74 68 0d 65 6e 64 20 69 | of myPa|th.end i|
|00004320| 66 0d 65 6e 64 20 69 66 | 0d 41 64 64 48 69 73 74 |f.end if|.AddHist|
|00004330| 6f 72 79 20 28 74 68 65 | 20 66 69 72 73 74 20 69 |ory (the| first i|
|00004340| 74 65 6d 20 6f 66 20 6c | 69 6e 65 20 63 75 72 72 |tem of l|ine curr|
|00004350| 4e 6f 64 65 4e 75 6d 20 | 6f 66 20 6d 79 50 61 74 |NodeNum |of myPat|
|00004360| 68 29 2c 20 28 74 68 65 | 20 73 65 63 6f 6e 64 20 |h), (the| second |
|00004370| 69 74 65 6d 20 6f 66 20 | 6c 69 6e 65 20 63 75 72 |item of |line cur|
|00004380| 72 4e 6f 64 65 4e 75 6d | 20 6f 66 20 6d 79 50 61 |rNodeNum| of myPa|
|00004390| 74 68 29 0d 70 75 74 20 | 63 75 72 72 4e 6f 64 65 |th).put |currNode|
|000043a0| 4e 75 6d 20 2b 20 31 20 | 69 6e 74 6f 20 63 75 72 |Num + 1 |into cur|
|000043b0| 72 4e 6f 64 65 4e 75 6d | 0d 49 6e 73 65 72 74 49 |rNodeNum|.InsertI|
|000043c0| 6e 66 6f 20 63 75 72 72 | 4e 6f 64 65 4e 75 6d 2c |nfo curr|NodeNum,|
|000043d0| 20 6d 79 44 65 6c 69 6d | 20 20 20 20 20 20 2d 2d | myDelim| --|
|000043e0| 20 74 68 69 73 20 6d 61 | 6b 65 73 20 72 6f 6f 6d | this ma|kes room|
|000043f0| 20 66 6f 72 20 74 68 65 | 20 6e 65 77 20 6e 6f 64 | for the| new nod|
|00004400| 65 27 65 20 6d 65 74 61 | 2d 69 6f 6e 66 6f 0d 65 |e'e meta|-ionfo.e|
|00004410| 6e 64 20 41 64 64 50 61 | 74 68 0d 0d 0d 6f 6e 20 |nd AddPa|th...on |
|00004420| 73 61 76 65 50 61 74 68 | 0d 2d 2d 20 54 68 69 73 |savePath|.-- This|
|00004430| 20 77 69 6c 6c 20 73 61 | 76 65 20 74 68 65 20 63 | will sa|ve the c|
|00004440| 75 72 72 65 6e 74 20 70 | 61 74 68 20 61 6e 64 20 |urrent p|ath and |
|00004450| 69 74 27 73 20 68 69 73 | 74 6f 72 79 2e 0d 2d 2d |it's his|tory..--|
|00004460| 20 57 65 20 63 61 6e 20 | 63 72 65 61 74 65 20 61 | We can |create a|
|00004470| 20 6e 65 77 20 70 61 74 | 68 20 63 61 72 64 20 6f | new pat|h card o|
|00004480| 72 20 6f 76 65 72 77 72 | 69 74 65 20 74 68 65 20 |r overwr|ite the |
|00004490| 63 75 72 72 65 6e 74 20 | 6f 6e 65 2e 0d 0d 67 6c |current |one...gl|
|000044a0| 6f 62 61 6c 20 6d 79 50 | 61 74 68 4e 61 6d 65 2c |obal myP|athName,|
|000044b0| 20 6d 79 50 61 74 68 2c | 20 6d 79 48 69 73 74 6f | myPath,| myHisto|
|000044c0| 72 79 2c 20 6d 79 50 61 | 74 68 43 61 72 64 2c 20 |ry, myPa|thCard, |
|000044d0| 6d 79 4d 65 74 61 49 6e | 66 6f 2c 20 50 61 74 68 |myMetaIn|fo, Path|
|000044e0| 53 74 61 74 75 73 0d 2d | 2d 20 6f 76 65 72 77 72 |Status.-|- overwr|
|000044f0| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 70 61 74 |ite exis|ting pat|
|00004500| 68 3f 0d 69 66 20 50 61 | 74 68 53 74 61 74 75 73 |h?.if Pa|thStatus|
|00004510| 20 3c 3e 20 22 4e 65 77 | 22 20 74 68 65 6e 0d 61 | <> "New|" then.a|
|00004520| 6e 73 77 65 72 20 22 4f | 76 65 72 77 72 69 74 65 |nswer "O|verwrite|
|00004530| 20 63 75 72 72 65 6e 74 | 20 70 61 74 68 22 20 26 | current| path" &|
|00004540| 26 20 6d 79 50 61 74 68 | 43 61 72 64 20 26 20 22 |& myPath|Card & "|
|00004550| 3f 22 20 77 69 74 68 20 | 22 43 61 6e 63 65 6c 22 |?" with |"Cancel"|
|00004560| 2c 20 22 4f 76 65 72 77 | 72 69 74 65 22 2c 20 22 |, "Overw|rite", "|
|00004570| 4e 65 77 22 0d 65 6c 73 | 65 0d 61 6e 73 77 65 72 |New".els|e.answer|
|00004580| 20 22 53 61 76 65 20 63 | 75 72 72 65 6e 74 20 70 | "Save c|urrent p|
|00004590| 61 74 68 22 20 26 26 20 | 6d 79 50 61 74 68 43 61 |ath" && |myPathCa|
|000045a0| 72 64 20 26 20 22 3f 22 | 20 77 69 74 68 20 22 43 |rd & "?"| with "C|
|000045b0| 61 6e 63 65 6c 22 2c 20 | 22 53 61 76 65 22 0d 65 |ancel", |"Save".e|
|000045c0| 6e 64 20 69 66 0d 6c 6f | 63 6b 20 73 63 72 65 65 |nd if.lo|ck scree|
|000045d0| 6e 0d 69 66 20 69 74 20 | 69 73 20 22 43 61 6e 63 |n.if it |is "Canc|
|000045e0| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 73 61 |el" then| exit sa|
|000045f0| 76 65 50 61 74 68 0d 69 | 66 20 69 74 20 69 73 20 |vePath.i|f it is |
|00004600| 22 4e 65 77 22 20 74 68 | 65 6e 0d 67 6f 20 74 6f |"New" th|en.go to|
|00004610| 20 6c 61 73 74 20 63 64 | 20 6f 66 20 73 74 61 63 | last cd| of stac|
|00004620| 6b 20 6d 79 50 61 74 68 | 4e 61 6d 65 0d 64 6f 4d |k myPath|Name.doM|
|00004630| 65 6e 75 20 22 4e 65 77 | 20 43 61 72 64 22 0d 61 |enu "New| Card".a|
|00004640| 73 6b 20 22 50 6c 65 61 | 73 65 20 45 6e 74 65 72 |sk "Plea|se Enter|
|00004650| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 69 | the nam|e of thi|
|00004660| 73 20 6e 65 77 20 70 61 | 74 68 2e 2e 2e 22 20 77 |s new pa|th..." w|
|00004670| 69 74 68 20 22 4e 65 77 | 20 50 61 74 68 22 0d 69 |ith "New| Path".i|
|00004680| 66 20 28 28 69 74 20 69 | 73 20 65 6d 70 74 79 29 |f ((it i|s empty)|
|00004690| 20 6f 72 20 28 74 68 65 | 20 72 65 73 75 6c 74 20 | or (the| result |
|000046a0| 3d 20 22 43 61 6e 63 65 | 6c 22 29 29 20 74 68 65 |= "Cance|l")) the|
|000046b0| 6e 0d 65 78 69 74 20 73 | 61 76 65 50 61 74 68 0d |n.exit s|avePath.|
|000046c0| 65 6c 73 65 0d 73 65 74 | 20 74 68 65 20 6e 61 6d |else.set| the nam|
|000046d0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 74 6f 20 |e of thi|s cd to |
|000046e0| 69 74 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 62 |it.put i|t into b|
|000046f0| 67 20 66 6c 64 20 22 50 | 61 74 68 20 4e 61 6d 65 |g fld "P|ath Name|
|00004700| 22 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 6d 79 |".put it| into my|
|00004710| 50 61 74 68 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |PathCard|.end if.|
|00004720| 65 6c 73 65 20 20 2d 2d | 20 69 74 20 69 73 20 22 |else --| it is "|
|00004730| 4f 76 65 72 77 72 69 74 | 65 22 20 6f 72 20 22 53 |Overwrit|e" or "S|
|00004740| 61 76 65 22 0d 67 6f 20 | 74 6f 20 63 64 20 6d 79 |ave".go |to cd my|
|00004750| 50 61 74 68 43 61 72 64 | 20 6f 66 20 73 74 61 63 |PathCard| of stac|
|00004760| 6b 20 6d 79 50 61 74 68 | 4e 61 6d 65 0d 65 6e 64 |k myPath|Name.end|
|00004770| 20 69 66 0d 0d 70 75 74 | 20 6d 79 50 61 74 68 20 | if..put| myPath |
|00004780| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 50 61 74 |into bg |fld "Pat|
|00004790| 68 22 0d 70 75 74 20 6d | 79 4d 65 74 61 49 6e 66 |h".put m|yMetaInf|
|000047a0| 6f 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 4d |o into b|g fld "M|
|000047b0| 65 74 61 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |etaInfor|mation".|
|000047c0| 70 75 74 20 6d 79 48 69 | 73 74 6f 72 79 20 69 6e |put myHi|story in|
|000047d0| 74 6f 20 62 67 20 66 6c | 64 20 22 48 69 73 74 6f |to bg fl|d "Histo|
|000047e0| 72 79 22 0d 2d 2d 20 6e | 6f 77 20 70 61 74 68 20 |ry".-- n|ow path |
|000047f0| 68 61 73 20 62 65 65 6e | 20 73 61 76 65 64 20 74 |has been| saved t|
|00004800| 68 65 6e 20 77 65 20 6d | 75 73 74 20 6f 76 65 72 |hen we m|ust over|
|00004810| 77 72 69 74 65 20 69 74 | 20 6e 65 78 74 20 74 69 |write it| next ti|
|00004820| 6d 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |me.put e|mpty int|
|00004830| 6f 20 50 61 74 68 53 74 | 61 74 75 73 0d 65 6e 64 |o PathSt|atus.end|
|00004840| 20 73 61 76 65 50 61 74 | 68 0d 0d 6f 6e 20 41 64 | savePat|h..on Ad|
|00004850| 64 48 69 73 74 6f 72 79 | 20 6d 79 43 61 72 64 2c |dHistory| myCard,|
|00004860| 20 6d 79 53 74 61 63 6b | 0d 2d 2d 20 54 68 69 73 | myStack|.-- This|
|00004870| 20 73 61 76 65 73 20 74 | 68 65 20 63 75 72 72 65 | saves t|he curre|
|00004880| 6e 74 20 63 61 72 64 20 | 64 65 74 61 69 6c 73 20 |nt card |details |
|00004890| 74 6f 20 74 68 65 20 48 | 69 73 74 6f 72 79 20 73 |to the H|istory s|
|000048a0| 74 72 75 63 74 75 72 65 | 2e 0d 67 6c 6f 62 61 6c |tructure|..global|
|000048b0| 20 6d 79 48 69 73 74 6f | 72 79 2c 20 73 74 61 72 | myHisto|ry, star|
|000048c0| 74 54 69 63 6b 73 0d 70 | 75 74 20 74 68 65 20 74 |tTicks.p|ut the t|
|000048d0| 69 63 6b 73 20 69 6e 74 | 6f 20 65 6e 64 54 69 63 |icks int|o endTic|
|000048e0| 6b 73 0d 70 75 74 20 28 | 65 6e 64 54 69 63 6b 73 |ks.put (|endTicks|
|000048f0| 20 2d 20 73 74 61 72 74 | 54 69 63 6b 73 29 20 2f | - start|Ticks) /|
|00004900| 20 36 30 20 69 6e 74 6f | 20 65 6c 61 70 73 65 64 | 60 into| elapsed|
|00004910| 54 69 6d 65 0d 70 75 74 | 20 74 68 65 20 73 68 6f |Time.put| the sho|
|00004920| 72 74 20 74 69 6d 65 20 | 69 6e 74 6f 20 6d 79 54 |rt time |into myT|
|00004930| 69 6d 65 0d 70 75 74 20 | 6d 79 43 61 72 64 20 26 |ime.put |myCard &|
|00004940| 20 22 2c 22 20 26 20 6d | 79 53 74 61 63 6b 20 26 | "," & m|yStack &|
|00004950| 20 22 2c 22 20 26 20 6d | 79 54 69 6d 65 20 26 20 | "," & m|yTime & |
|00004960| 22 2c 22 20 26 20 65 6c | 61 70 73 65 64 54 69 6d |"," & el|apsedTim|
|00004970| 65 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |e & retu|rn after|
|00004980| 20 6d 79 48 69 73 74 6f | 72 79 0d 70 75 74 20 74 | myHisto|ry.put t|
|00004990| 68 65 20 74 69 63 6b 73 | 20 69 6e 74 6f 20 73 74 |he ticks| into st|
|000049a0| 61 72 74 54 69 63 6b 73 | 0d 65 6e 64 20 41 64 64 |artTicks|.end Add|
|000049b0| 48 69 73 74 6f 72 79 0d | 0d 6f 6e 20 63 72 65 61 |History.|.on crea|
|000049c0| 74 65 50 61 74 68 4d 65 | 6e 75 0d 69 66 20 74 68 |tePathMe|nu.if th|
|000049d0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 22 50 |ere is a| menu "P|
|000049e0| 61 74 68 73 22 20 74 68 | 65 6e 20 65 78 69 74 20 |aths" th|en exit |
|000049f0| 63 72 65 61 74 65 50 61 | 74 68 4d 65 6e 75 0d 63 |createPa|thMenu.c|
|00004a00| 72 65 61 74 65 20 6d 65 | 6e 75 20 22 50 61 74 68 |reate me|nu "Path|
|00004a10| 73 22 0d 70 75 74 20 63 | 72 65 61 74 65 50 61 74 |s".put c|reatePat|
|00004a20| 68 4d 65 6e 75 49 74 65 | 6d 73 28 29 20 69 6e 74 |hMenuIte|ms() int|
|00004a30| 6f 20 6d 65 6e 75 20 22 | 50 61 74 68 73 22 20 77 |o menu "|Paths" w|
|00004a40| 69 74 68 20 6d 65 6e 75 | 4d 73 67 20 63 72 65 61 |ith menu|Msg crea|
|00004a50| 74 65 50 61 74 68 4d 65 | 6e 75 4d 73 67 73 28 29 |tePathMe|nuMsgs()|
|00004a60| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 49 74 65 |.disable| menuIte|
|00004a70| 6d 20 35 20 6f 66 20 6d | 65 6e 75 20 22 50 61 74 |m 5 of m|enu "Pat|
|00004a80| 68 73 22 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |hs".disa|ble menu|
|00004a90| 49 74 65 6d 20 38 20 6f | 66 20 6d 65 6e 75 20 22 |Item 8 o|f menu "|
|00004aa0| 50 61 74 68 73 22 0d 65 | 6e 64 20 63 72 65 61 74 |Paths".e|nd creat|
|00004ab0| 65 50 61 74 68 4d 65 6e | 75 0d 0d 66 75 6e 63 74 |ePathMen|u..funct|
|00004ac0| 69 6f 6e 20 63 72 65 61 | 74 65 50 61 74 68 4d 65 |ion crea|tePathMe|
|00004ad0| 6e 75 49 74 65 6d 73 0d | 72 65 74 75 72 6e 20 22 |nuItems.|return "|
|00004ae0| 4e 65 78 74 22 20 26 20 | 72 65 74 75 72 6e 20 26 |Next" & |return &|
|00004af0| 20 c2 0d 22 50 72 65 76 | 69 6f 75 73 22 20 26 20 | .."Prev|ious" & |
|00004b00| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 49 6e 66 6f |return &| .."Info|
|00004b10| 72 6d 61 74 69 6f 6e 22 | 20 26 20 72 65 74 75 72 |rmation"| & retur|
|00004b20| 6e 20 26 20 c2 0d 22 4a | 75 6d 70 20 62 61 63 6b |n & .."J|ump back|
|00004b30| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00004b40| 2d 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 c2 0d |-" & ret|urn & ..|
|00004b50| 22 41 64 64 22 20 26 20 | 72 65 74 75 72 6e 20 26 |"Add" & |return &|
|00004b60| 20 c2 0d 22 44 65 6c 65 | 74 65 22 20 26 20 72 65 | .."Dele|te" & re|
|00004b70| 74 75 72 6e 20 26 20 c2 | 0d 22 2d 22 20 26 20 72 |turn & .|."-" & r|
|00004b80| 65 74 75 72 6e 20 26 20 | c2 0d 22 4f 70 65 6e 2e |eturn & |.."Open.|
|00004b90| 2e 2e 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |.." & re|turn & .|
|00004ba0| 0d 22 53 61 76 65 22 20 | 26 20 72 65 74 75 72 6e |."Save" |& return|
|00004bb0| 0d 65 6e 64 20 63 72 65 | 61 74 65 50 61 74 68 4d |.end cre|atePathM|
|00004bc0| 65 6e 75 49 74 65 6d 73 | 0d 0d 66 75 6e 63 74 69 |enuItems|..functi|
|00004bd0| 6f 6e 20 63 72 65 61 74 | 65 50 61 74 68 4d 65 6e |on creat|ePathMen|
|00004be0| 75 4d 73 67 73 0d 72 65 | 74 75 72 6e 20 22 4e 65 |uMsgs.re|turn "Ne|
|00004bf0| 78 74 50 61 74 68 22 20 | 26 20 72 65 74 75 72 6e |xtPath" |& return|
|00004c00| 20 26 20 c2 0d 22 50 72 | 65 76 50 61 74 68 22 20 | & .."Pr|evPath" |
|00004c10| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 6d 65 |& return| & .."me|
|00004c20| 74 61 49 6e 66 6f 22 20 | 26 20 72 65 74 75 72 6e |taInfo" |& return|
|00004c30| 20 26 20 c2 0d 22 6c 61 | 73 74 50 61 74 68 22 20 | & .."la|stPath" |
|00004c40| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 22 20 |& return| & .."" |
|00004c50| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 61 64 |& return| & .."ad|
|00004c60| 64 50 61 74 68 22 20 26 | 20 72 65 74 75 72 6e 20 |dPath" &| return |
|00004c70| 26 20 c2 0d 22 64 65 6c | 65 74 65 50 61 74 68 22 |& .."del|etePath"|
|00004c80| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 22 | & retur|n & ..""|
|00004c90| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 6f | & retur|n & .."o|
|00004ca0| 70 65 6e 50 61 74 68 22 | 20 26 20 72 65 74 75 72 |penPath"| & retur|
|00004cb0| 6e 20 26 20 c2 0d 22 73 | 61 76 65 50 61 74 68 22 |n & .."s|avePath"|
|00004cc0| 0d 65 6e 64 20 63 72 65 | 61 74 65 50 61 74 68 4d |.end cre|atePathM|
|00004cd0| 65 6e 75 4d 73 67 73 0d | 0d 0d 6f 6e 20 55 70 64 |enuMsgs.|..on Upd|
|00004ce0| 61 74 65 4d 65 6e 75 20 | 6d 79 49 74 65 6d 73 2c |ateMenu |myItems,|
|00004cf0| 20 69 74 65 6d 53 74 61 | 74 75 73 0d 69 66 20 74 | itemSta|tus.if t|
|00004d00| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 6d 65 |here is |not a me|
|00004d10| 6e 75 20 22 50 61 74 68 | 73 22 20 74 68 65 6e 20 |nu "Path|s" then |
|00004d20| 65 78 69 74 20 55 70 64 | 61 74 65 4d 65 6e 75 0d |exit Upd|ateMenu.|
|00004d30| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00004d40| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00004d50| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 6d 79 49 74 |of items| in myIt|
|00004d60| 65 6d 73 0d 70 75 74 20 | 69 74 65 6d 20 78 20 6f |ems.put |item x o|
|00004d70| 66 20 6d 79 49 74 65 6d | 73 20 69 6e 74 6f 20 6d |f myItem|s into m|
|00004d80| 79 4d 65 6e 75 49 74 65 | 6d 0d 64 6f 20 69 74 65 |yMenuIte|m.do ite|
|00004d90| 6d 53 74 61 74 75 73 20 | 26 26 20 22 6d 65 6e 75 |mStatus |&& "menu|
|00004da0| 69 74 65 6d 22 20 26 26 | 20 6d 79 4d 65 6e 75 49 |item" &&| myMenuI|
|00004db0| 74 65 6d 20 26 26 20 22 | 6f 66 20 6d 65 6e 75 20 |tem && "|of menu |
|00004dc0| 50 61 74 68 73 22 0d 65 | 6e 64 20 72 65 70 65 61 |Paths".e|nd repea|
|00004dd0| 74 0d 65 6e 64 20 55 70 | 64 61 74 65 4d 65 6e 75 |t.end Up|dateMenu|
|00004de0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 02 80 a7 00 02 84 55 | 00 04 7b da 00 00 00 00 |.......U|..{.....|
|00004e30| 00 04 77 4b 00 04 79 06 | 00 03 55 c9 00 03 39 52 |..wK..y.|..U...9R|
|00004e40| 00 03 3f 3e 00 03 3b a1 | 00 03 51 44 00 03 59 8b |..?>..;.|..QD..Y.|
|00004e50| 00 00 00 00 00 00 00 00 | 00 03 23 84 00 00 00 00 |........|..#.....|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 80 4c 49 53 54 | 00 00 08 a7 00 00 00 00 |....LIST|........|
|00005010| 00 00 00 01 00 00 08 00 | 00 00 00 03 00 50 00 02 |........|.....P..|
|00005020| 00 13 00 03 a0 00 01 2d | 00 00 00 03 00 00 00 00 |.......-|........|
|00005030| 00 00 09 55 00 03 00 00 | 00 00 00 00 00 00 00 00 |...U....|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 08 00 50 41 47 45 | 00 00 09 55 00 00 00 00 |....PAGE|...U....|
|00005090| 00 00 08 a7 a3 00 02 b4 | 00 00 10 3e 60 00 00 00 |........|...>`...|
|000050a0| 00 01 00 00 00 00 00 10 | 00 80 00 80 00 00 00 00 |........|........|
|000050b0| 00 00 00 a0 00 00 00 24 | 00 20 02 82 00 08 00 00 |.......$|. ......|
|000050c0| 00 01 00 00 80 00 20 00 | 02 00 01 00 06 00 00 00 |...... .|........|
|000050d0| 08 00 00 80 00 00 00 00 | 62 00 02 00 00 00 80 00 |........|b.......|
|000050e0| 00 40 02 00 80 00 10 00 | 00 00 0e c9 e0 00 00 00 |.@......|........|
|000050f0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 02 00 |........|........|
|00005100| 02 00 00 00 00 00 00 60 | 00 00 0a 00 00 00 00 00 |.......`|........|
|00005110| 10 00 00 00 00 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 80 00 00 00 00 | 10 00 00 00 04 00 08 00 |........|........|
|00005130| 00 02 00 00 00 00 00 00 | 00 00 13 8b a0 6f ff bb |........|.....o..|
|00005140| ff ef fe de ff ff fe ff | 3f fa bf f6 ff bf de ff |........|?.......|
|00005150| bd d7 91 ff ff ed f7 ff | ff d3 7f ed ab f7 ff ff |........|........|
|00005160| 7f fc de fe ff c2 3d bf | ff ff f3 f8 56 e5 fd fe |......=.|....V...|
|00005170| ab fe fd 95 ed ff f7 ff | 3e 3f ef 5f ff ff df f7 |........|>?._....|
|00005180| f7 ff da 3d ff bc 7f ff | 00 00 00 00 00 00 00 00 |...=....|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 0b e0 46 52 45 45 | 00 00 00 00 00 00 00 00 |....FREE|........|
|00005890| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|000058a0| 00 00 0f 52 00 09 00 0a | 00 00 05 ae 00 02 00 00 |...R....|........|
|000058b0| 00 62 00 26 00 02 02 84 | 00 3c 00 24 00 f6 01 07 |.b.&....|.<.$....|
|000058c0| 20 07 00 00 00 00 00 00 | 00 03 00 0a 00 00 00 0d | .......|........|
|000058d0| 70 61 74 68 00 00 00 00 | 00 30 00 01 02 84 00 3c |path....|.0.....<|
|000058e0| 01 06 00 f6 01 a4 20 07 | 00 00 00 00 00 00 00 03 |...... .|........|
|000058f0| 00 0a 00 00 00 0d 6d 65 | 74 61 49 6e 66 6f 72 6d |......me|taInform|
|00005900| 61 74 69 6f 6e 00 00 00 | 01 44 00 03 02 05 00 3b |ation...|.D.....;|
|00005910| 00 24 00 f6 01 a4 20 07 | 00 00 00 00 00 00 00 03 |.$.... .|........|
|00005920| 00 0a 00 00 00 0d 48 69 | 73 74 6f 72 79 00 00 6f |......Hi|story..o|
|00005930| 6e 20 6d 6f 75 73 65 55 | 70 0d 6c 6f 63 6b 20 73 |n mouseU|p.lock s|
|00005940| 63 72 65 65 6e 0d 70 75 | 74 20 74 68 65 20 73 65 |creen.pu|t the se|
|00005950| 63 6f 6e 64 20 77 6f 72 | 64 20 6f 66 20 74 68 65 |cond wor|d of the|
|00005960| 20 63 6c 69 63 6b 4c 69 | 6e 65 20 69 6e 74 6f 20 | clickLi|ne into |
|00005970| 74 68 65 4c 69 6e 65 0d | 73 65 6c 65 63 74 20 6c |theLine.|select l|
|00005980| 69 6e 65 20 74 68 65 4c | 69 6e 65 20 6f 66 20 62 |ine theL|ine of b|
|00005990| 67 20 66 6c 64 20 22 48 | 69 73 74 6f 72 79 22 0d |g fld "H|istory".|
|000059a0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000059b0| 68 65 20 73 65 6c 65 63 | 74 65 64 54 65 78 74 20 |he selec|tedText |
|000059c0| 69 6e 74 6f 20 6d 79 49 | 44 0d 70 75 74 20 69 74 |into myI|D.put it|
|000059d0| 65 6d 20 32 20 6f 66 20 | 74 68 65 20 73 65 6c 65 |em 2 of |the sele|
|000059e0| 63 74 65 64 54 65 78 74 | 20 69 6e 74 6f 20 6d 79 |ctedText| into my|
|000059f0| 53 74 61 63 6b 0d 0d 76 | 69 73 75 61 6c 20 65 66 |Stack..v|isual ef|
|00005a00| 66 65 63 74 20 69 72 69 | 73 20 6f 70 65 6e 0d 67 |fect iri|s open.g|
|00005a10| 6f 20 74 6f 20 63 64 20 | 69 64 20 6d 79 49 44 20 |o to cd |id myID |
|00005a20| 6f 66 20 73 74 61 63 6b | 20 6d 79 53 74 61 63 6b |of stack| myStack|
|00005a30| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 0d |.unlock |screen..|
|00005a40| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 01 2c 00 04 |end mous|eUp..,..|
|00005a50| 01 00 01 09 00 65 01 21 | 00 a2 20 00 00 00 00 00 |.....e.!|.. .....|
|00005a60| 00 01 00 00 00 0c 00 00 | 00 10 50 61 74 68 73 00 |........|..Paths.|
|00005a70| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 73 65 74 20 |.on mous|eUp.set |
|00005a80| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 6d 65 |the hili|te of me|
|00005a90| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 74 68 65 | to true|.set the|
|00005aa0| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 67 20 62 74 | hilite |of bg bt|
|00005ab0| 6e 20 22 48 69 73 74 6f | 72 79 22 20 74 6f 20 66 |n "Histo|ry" to f|
|00005ac0| 61 6c 73 65 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |alse.loc|k screen|
|00005ad0| 0d 68 69 64 65 20 62 67 | 20 66 6c 64 20 22 48 69 |.hide bg| fld "Hi|
|00005ae0| 73 74 6f 72 79 22 0d 68 | 69 64 65 20 62 67 20 66 |story".h|ide bg f|
|00005af0| 6c 64 20 22 48 69 73 74 | 6f 72 79 20 54 69 74 6c |ld "Hist|ory Titl|
|00005b00| 65 22 0d 73 68 6f 77 20 | 62 67 20 66 6c 64 20 22 |e".show |bg fld "|
|00005b10| 50 61 74 68 20 54 69 74 | 6c 65 22 0d 73 68 6f 77 |Path Tit|le".show|
|00005b20| 20 62 67 20 66 6c 64 20 | 22 50 61 74 68 22 0d 73 | bg fld |"Path".s|
|00005b30| 68 6f 77 20 62 67 20 66 | 6c 64 20 22 4d 65 74 61 |how bg f|ld "Meta|
|00005b40| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 22 0d 75 6e 6c |Informat|ion".unl|
|00005b50| 6f 63 6b 20 73 63 72 65 | 65 6e 20 77 69 74 68 20 |ock scre|en with |
|00005b60| 69 72 69 73 20 63 6c 6f | 73 65 0d 65 6e 64 20 6d |iris clo|se.end m|
|00005b70| 6f 75 73 65 55 70 00 00 | 01 2a 00 05 01 00 01 0a |ouseUp..|.*......|
|00005b80| 00 b8 01 21 01 06 60 00 | 00 00 00 00 00 01 00 00 |...!..`.|........|
|00005b90| 00 0c 00 00 00 10 68 69 | 73 74 6f 72 79 00 00 6f |......hi|story..o|
|00005ba0| 6e 20 6d 6f 75 73 65 55 | 70 0d 73 65 74 20 74 68 |n mouseU|p.set th|
|00005bb0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 6d 65 20 74 |e hilite| of me t|
|00005bc0| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 68 |o true.s|et the h|
|00005bd0| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|00005be0| 22 50 61 74 68 73 22 20 | 74 6f 20 66 61 6c 73 65 |"Paths" |to false|
|00005bf0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 68 69 64 |.lock sc|reen.hid|
|00005c00| 65 20 62 67 20 66 6c 64 | 20 22 50 61 74 68 20 54 |e bg fld| "Path T|
|00005c10| 69 74 6c 65 22 0d 68 69 | 64 65 20 62 67 20 66 6c |itle".hi|de bg fl|
|00005c20| 64 20 22 50 61 74 68 22 | 0d 68 69 64 65 20 62 67 |d "Path"|.hide bg|
|00005c30| 20 66 6c 64 20 22 4d 65 | 74 61 49 6e 66 6f 72 6d | fld "Me|taInform|
|00005c40| 61 74 69 6f 6e 22 0d 73 | 68 6f 77 20 62 67 20 66 |ation".s|how bg f|
|00005c50| 6c 64 20 22 48 69 73 74 | 6f 72 79 22 0d 73 68 6f |ld "Hist|ory".sho|
|00005c60| 77 20 62 67 20 66 6c 64 | 20 22 48 69 73 74 6f 72 |w bg fld| "Histor|
|00005c70| 79 20 54 69 74 6c 65 22 | 0d 75 6e 6c 6f 63 6b 20 |y Title"|.unlock |
|00005c80| 73 63 72 65 65 6e 20 77 | 69 74 68 20 69 72 69 73 |screen w|ith iris|
|00005c90| 20 6f 70 65 6e 0d 65 6e | 64 20 6d 6f 75 73 65 55 | open.en|d mouseU|
|00005ca0| 70 00 00 2e 00 07 02 0c | 00 28 00 24 00 3c 01 a4 |p.......|.(.$.<..|
|00005cb0| 20 02 00 00 00 00 00 00 | 00 14 00 0e 01 00 00 12 | .......|........|
|00005cc0| 68 69 73 74 6f 72 79 20 | 74 69 74 6c 65 00 00 00 |history |title...|
|00005cd0| 01 3a 00 08 01 00 01 0a | 01 2d 01 21 01 b4 30 00 |.:......|.-.!..0.|
|00005ce0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 48 69 |........|......Hi|
|00005cf0| 73 74 6f 72 79 20 74 6f | 20 50 61 74 68 00 00 6f |story to| Path..o|
|00005d00| 6e 20 6d 6f 75 73 65 55 | 70 0d 61 73 6b 20 22 57 |n mouseU|p.ask "W|
|00005d10| 68 61 74 20 69 73 20 74 | 68 65 20 54 68 72 65 73 |hat is t|he Thres|
|00005d20| 68 6f 6c 64 20 76 61 6c | 75 65 20 28 73 65 63 6f |hold val|ue (seco|
|00005d30| 6e 64 73 29 20 66 6f 72 | 20 61 64 64 69 6e 67 20 |nds) for| adding |
|00005d40| 61 20 6e 6f 64 65 20 74 | 6f 20 74 68 65 20 70 61 |a node t|o the pa|
|00005d50| 74 68 3f 22 20 77 69 74 | 68 20 22 36 30 22 0d 69 |th?" wit|h "60".i|
|00005d60| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|00005d70| 65 6e 20 65 78 69 74 20 | 6d 6f 75 73 65 55 70 0d |en exit |mouseUp.|
|00005d80| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00005d90| 69 74 20 69 6e 74 6f 20 | 54 68 72 65 73 68 6f 6c |it into |Threshol|
|00005da0| 64 0d 70 75 74 20 62 67 | 20 66 6c 64 20 22 48 69 |d.put bg| fld "Hi|
|00005db0| 73 74 6f 72 79 22 20 69 | 6e 74 6f 20 48 69 73 74 |story" i|nto Hist|
|00005dc0| 6f 72 79 50 61 74 68 0d | 50 61 74 68 46 72 6f 6d |oryPath.|PathFrom|
|00005dd0| 48 69 73 74 6f 72 79 20 | 48 69 73 74 6f 72 79 50 |History |HistoryP|
|00005de0| 61 74 68 2c 20 54 68 72 | 65 73 68 6f 6c 64 0d 75 |ath, Thr|eshold.u|
|00005df0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00005e00| 20 6d 6f 75 73 65 55 70 | 00 00 00 2c 00 06 02 9c | mouseUp|...,....|
|00005e10| 00 29 00 24 00 3d 01 a4 | 20 02 00 00 00 00 00 00 |.).$.=..| .......|
|00005e20| 00 14 00 0e 01 00 00 12 | 70 61 74 68 20 74 69 74 |........|path tit|
|00005e30| 6c 65 00 00 00 00 00 2a | 00 0a 02 05 00 12 00 24 |le.....*|.......$|
|00005e40| 00 2a 01 a4 20 02 00 00 | 00 00 00 01 00 15 00 12 |.*.. ...|........|
|00005e50| 01 00 00 18 50 61 74 68 | 20 4e 61 6d 65 00 00 00 |....Path| Name...|
|00005e60| 00 06 00 36 00 43 61 72 | 64 49 44 2c 20 53 74 61 |...6.Car|dID, Sta|
|00005e70| 63 6b 20 4e 61 6d 65 20 | 20 20 20 20 20 20 20 20 |ck Name | |
|00005e80| 20 20 20 20 20 20 20 20 | 20 20 4d 65 74 61 2d 69 | | Meta-i|
|00005e90| 6e 66 6f 72 6d 61 74 69 | 6f 6e 00 07 00 24 00 43 |nformati|on...$.C|
|00005ea0| 61 72 64 20 49 44 2c 20 | 53 74 61 63 6b 20 4e 61 |ard ID, |Stack Na|
|00005eb0| 6d 65 2c 20 54 69 6d 65 | 2c 20 44 75 72 61 74 69 |me, Time|, Durati|
|00005ec0| 6f 6e 50 61 74 68 00 6f | 6e 20 6f 70 65 6e 63 61 |onPath.o|n openca|
|00005ed0| 72 64 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |rd.put t|he short|
|00005ee0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00005ef0| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 22 50 61 | into bg| fld "Pa|
|00005f00| 74 68 20 4e 61 6d 65 22 | 0d 2d 2d 20 69 66 20 62 |th Name"|.-- if b|
|00005f10| 67 20 66 6c 64 20 22 50 | 61 74 68 22 20 69 73 20 |g fld "P|ath" is |
|00005f20| 76 69 73 69 62 6c 65 20 | 74 68 65 6e 0d 2d 2d 20 |visible |then.-- |
|00005f30| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |set the |hilite o|
|00005f40| 66 20 62 67 20 62 74 6e | 20 22 48 69 73 74 6f 72 |f bg btn| "Histor|
|00005f50| 79 22 20 74 6f 20 66 61 | 6c 73 65 0d 2d 2d 20 73 |y" to fa|lse.-- s|
|00005f60| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00005f70| 20 62 67 20 62 74 6e 20 | 22 50 61 74 68 73 22 20 | bg btn |"Paths" |
|00005f80| 74 6f 20 74 72 75 65 0d | 2d 2d 20 65 6e 64 20 69 |to true.|-- end i|
|00005f90| 66 0d 65 6e 64 20 6f 70 | 65 6e 63 61 72 64 0d 0d |f.end op|encard..|
|00005fa0| 0d 6f 6e 20 50 61 74 68 | 46 72 6f 6d 48 69 73 74 |.on Path|FromHist|
|00005fb0| 6f 72 79 20 48 69 73 74 | 6f 72 79 2c 20 54 68 72 |ory Hist|ory, Thr|
|00005fc0| 65 73 68 6f 6c 64 0d 2d | 2d 20 54 68 69 73 20 63 |eshold.-|- This c|
|00005fd0| 72 65 61 74 65 20 61 20 | 6e 65 77 20 70 61 74 68 |reate a |new path|
|00005fe0| 20 66 72 6f 6d 20 73 6f | 6d 65 20 68 69 73 74 6f | from so|me histo|
|00005ff0| 72 79 20 6c 69 73 74 2e | 0d 2d 2d 20 54 68 65 20 |ry list.|.-- The |
|00006000| 64 65 74 65 72 6d 69 6e | 69 6e 67 20 66 61 63 74 |determin|ing fact|
|00006010| 6f 72 20 69 6e 20 62 65 | 69 6e 67 20 61 64 64 65 |or in be|ing adde|
|00006020| 64 20 74 6f 20 74 68 65 | 20 70 61 74 68 0d 2d 2d |d to the| path.--|
|00006030| 20 69 73 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6f | is the |amount o|
|00006040| 66 20 74 69 6d 65 20 74 | 68 61 74 20 74 68 65 20 |f time t|hat the |
|00006050| 6e 6f 64 65 20 69 6e 20 | 74 68 65 20 68 69 73 74 |node in |the hist|
|00006060| 6f 72 79 20 77 61 73 20 | 76 69 73 69 74 65 64 2e |ory was |visited.|
|00006070| 0d 2d 2d 20 54 68 65 20 | 76 61 6c 75 65 20 74 68 |.-- The |value th|
|00006080| 61 74 20 69 73 20 74 68 | 65 20 63 75 74 20 6f 66 |at is th|e cut of|
|00006090| 66 20 70 6f 69 6e 74 20 | 69 73 20 74 68 65 20 76 |f point |is the v|
|000060a0| 61 72 69 61 62 6c 65 20 | 54 68 72 65 73 68 6f 6c |ariable |Threshol|
|000060b0| 64 2e 0d 0d 2d 2d 20 54 | 68 65 20 48 69 73 74 6f |d...-- T|he Histo|
|000060c0| 72 79 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |ry data |structur|
|000060d0| 65 20 69 73 20 69 6e 20 | 74 68 65 20 66 6f 72 6d |e is in |the form|
|000060e0| 3a 0d 2d 2d 20 43 61 72 | 64 20 49 44 2c 20 53 74 |:.-- Car|d ID, St|
|000060f0| 61 63 6b 20 6e 61 6d 65 | 2c 20 74 69 6d 65 20 6f |ack name|, time o|
|00006100| 66 20 76 69 73 69 74 2c | 20 6c 65 6e 67 74 68 20 |f visit,| length |
|00006110| 6f 66 20 76 69 73 69 74 | 0d 0d 2d 2d 20 53 6f 20 |of visit|..-- So |
|00006120| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 76 69 |the leng|th of vi|
|00006130| 73 69 74 20 69 73 20 74 | 68 65 20 64 65 74 65 72 |sit is t|he deter|
|00006140| 6d 69 6e 69 6e 67 20 66 | 61 63 74 6f 72 0d 0d 70 |mining f|actor..p|
|00006150| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 4e 65 |ut empty| into Ne|
|00006160| 77 50 61 74 68 0d 0d 72 | 65 70 65 61 74 20 77 69 |wPath..r|epeat wi|
|00006170| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th x = 1| to the |
|00006180| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00006190| 6f 66 20 48 69 73 74 6f | 72 79 0d 73 65 74 20 63 |of Histo|ry.set c|
|000061a0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 69 66 |ursor to| busy.if|
|000061b0| 20 69 74 65 6d 20 34 20 | 6f 66 20 6c 69 6e 65 20 | item 4 |of line |
|000061c0| 78 20 6f 66 20 48 69 73 | 74 6f 72 79 20 3e 3d 20 |x of His|tory >= |
|000061d0| 54 68 72 65 73 68 6f 6c | 64 20 74 68 65 6e 0d 70 |Threshol|d then.p|
|000061e0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 6c 69 6e |ut item |1 of lin|
|000061f0| 65 20 78 20 6f 66 20 48 | 69 73 74 6f 72 79 20 26 |e x of H|istory &|
|00006200| 20 22 2c 22 20 26 20 69 | 74 65 6d 20 32 20 6f 66 | "," & i|tem 2 of|
|00006210| 20 6c 69 6e 65 20 78 20 | 6f 66 20 48 69 73 74 6f | line x |of Histo|
|00006220| 72 79 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |ry & ret|urn afte|
|00006230| 72 20 4e 65 77 50 61 74 | 68 0d 65 6e 64 20 69 66 |r NewPat|h.end if|
|00006240| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 0d 69 66 20 |.end rep|eat..if |
|00006250| 4e 65 77 50 61 74 68 20 | 69 73 20 65 6d 70 74 79 |NewPath |is empty|
|00006260| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 4e 6f | then.an|swer "No|
|00006270| 20 6e 6f 64 65 73 20 69 | 6e 20 70 61 74 68 2e 20 | nodes i|n path. |
|00006280| 54 72 79 20 61 20 6c 6f | 77 65 72 20 74 68 72 65 |Try a lo|wer thre|
|00006290| 73 68 6f 6c 64 20 76 61 | 6c 75 65 2e 22 0d 65 6c |shold va|lue.".el|
|000062a0| 73 65 0d 61 73 6b 20 22 | 4e 61 6d 65 20 74 68 69 |se.ask "|Name thi|
|000062b0| 73 20 6e 65 77 20 70 61 | 74 68 2e 22 20 77 69 74 |s new pa|th." wit|
|000062c0| 68 20 22 4e 65 77 20 50 | 61 74 68 22 0d 69 66 20 |h "New P|ath".if |
|000062d0| 74 68 65 20 72 65 73 75 | 6c 74 20 3d 20 22 43 61 |the resu|lt = "Ca|
|000062e0| 6e 63 65 6c 22 20 6f 72 | 20 69 74 20 69 73 20 65 |ncel" or| it is e|
|000062f0| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 50 |mpty the|n exit P|
|00006300| 61 74 68 46 72 6f 6d 48 | 69 73 74 6f 72 79 0d 70 |athFromH|istory.p|
|00006310| 75 74 20 69 74 20 69 6e | 74 6f 20 6d 79 50 61 74 |ut it in|to myPat|
|00006320| 68 4e 61 6d 65 0d 64 6f | 4d 65 6e 75 20 22 4e 65 |hName.do|Menu "Ne|
|00006330| 77 20 43 61 72 64 22 0d | 73 65 74 20 74 68 65 20 |w Card".|set the |
|00006340| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 61 72 |name of |this car|
|00006350| 64 20 74 6f 20 6d 79 50 | 61 74 68 4e 61 6d 65 0d |d to myP|athName.|
|00006360| 70 75 74 20 4e 65 77 50 | 61 74 68 20 69 6e 74 6f |put NewP|ath into|
|00006370| 20 62 67 20 66 6c 64 20 | 22 50 61 74 68 22 0d 70 | bg fld |"Path".p|
|00006380| 75 74 20 22 65 6e 64 4e | 6f 64 65 22 20 26 20 72 |ut "endN|ode" & r|
|00006390| 65 74 75 72 6e 20 69 6e | 74 6f 20 6d 79 49 6e 66 |eturn in|to myInf|
|000063a0| 6f 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |o.repeat| with x |
|000063b0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|000063c0| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 4e 65 |r of lin|es of Ne|
|000063d0| 77 50 61 74 68 0d 73 65 | 74 20 63 75 72 73 6f 72 |wPath.se|t cursor|
|000063e0| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 22 65 6e | to busy|.put "en|
|000063f0| 64 4e 6f 64 65 22 20 26 | 20 72 65 74 75 72 6e 20 |dNode" &| return |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.